mirror of
https://github.com/ml-explore/mlx.git
synced 2025-12-16 01:49:05 +08:00
Added mlx::core::version() returning std::string(MLX_VERSION) (#1819)
* Added version.h providing mlx::core::version() returning std::string(MLX_VERSION) Also, added MLX_VERSION_MAJOR, MLX_VERSION_MINOR, MLX_VERSION_PATCH, MLX_VERSION_NUMERIC, and accompanying functions. * Added version.h to mlx.h * Changed version int functions to be constexpr * Formatting * Added handling of MLX_VERSION where only the prefix has major.minor.patch format * Changed version function to be constexpr
This commit is contained in:
committed by
GitHub
parent
c707b2b0a6
commit
c86422bdd4