MLX
 
Loading...
Searching...
No Matches
version.h
Go to the documentation of this file.
1// Copyright © 2025 Apple Inc.
2
3#pragma once
4
5#define MLX_VERSION_MAJOR 0
6#define MLX_VERSION_MINOR 24
7#define MLX_VERSION_PATCH 0
8#define MLX_VERSION_NUMERIC \
9 (100000 * MLX_VERSION_MAJOR + 1000 * MLX_VERSION_MINOR + MLX_VERSION_PATCH)
10
11namespace mlx::core {
12
13/* A string representation of the MLX version in the format
14 * "major.minor.patch".
15 *
16 * For dev builds, the version will include the suffix ".devYYYYMMDD+hash"
17 */
18std::string version();
19
20} // namespace mlx::core
Definition allocator.h:7
std::string version()