mirror of
https://github.com/ml-explore/mlx.git
synced 2025-07-22 01:21:14 +08:00

* 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
23 lines
510 B
C
23 lines
510 B
C
// Copyright © 2023 Apple Inc.
|
|
|
|
#pragma once
|
|
|
|
#include "mlx/array.h"
|
|
#include "mlx/backend/metal/metal.h"
|
|
#include "mlx/compile.h"
|
|
#include "mlx/device.h"
|
|
#include "mlx/distributed/distributed.h"
|
|
#include "mlx/distributed/ops.h"
|
|
#include "mlx/einsum.h"
|
|
#include "mlx/export.h"
|
|
#include "mlx/fast.h"
|
|
#include "mlx/fft.h"
|
|
#include "mlx/io.h"
|
|
#include "mlx/linalg.h"
|
|
#include "mlx/ops.h"
|
|
#include "mlx/random.h"
|
|
#include "mlx/stream.h"
|
|
#include "mlx/transforms.h"
|
|
#include "mlx/utils.h"
|
|
#include "mlx/version.h"
|