dist/include/ contains the MLX and MLX-C headers needed for CGo compilation. Without these, go-mlx cannot be used as a module dependency (headers not found in module cache). Libraries (dylib/metallib) are still gitignored — users build those locally via cmake. Co-Authored-By: Virgil <virgil@lethean.io>
33 lines
778 B
C
33 lines
778 B
C
/* Copyright © 2023-2024 Apple Inc. */
|
|
|
|
#ifndef MLX_ALL_H
|
|
#define MLX_ALL_H
|
|
|
|
#include "mlx/c/array.h"
|
|
#include "mlx/c/closure.h"
|
|
#include "mlx/c/compile.h"
|
|
#include "mlx/c/device.h"
|
|
#include "mlx/c/distributed.h"
|
|
#include "mlx/c/distributed_group.h"
|
|
#include "mlx/c/error.h"
|
|
#include "mlx/c/export.h"
|
|
#include "mlx/c/fast.h"
|
|
#include "mlx/c/fft.h"
|
|
#include "mlx/c/half.h"
|
|
#include "mlx/c/io.h"
|
|
#include "mlx/c/io_types.h"
|
|
#include "mlx/c/linalg.h"
|
|
#include "mlx/c/map.h"
|
|
#include "mlx/c/memory.h"
|
|
#include "mlx/c/metal.h"
|
|
#include "mlx/c/ops.h"
|
|
#include "mlx/c/optional.h"
|
|
#include "mlx/c/random.h"
|
|
#include "mlx/c/stream.h"
|
|
#include "mlx/c/string.h"
|
|
#include "mlx/c/transforms.h"
|
|
#include "mlx/c/transforms_impl.h"
|
|
#include "mlx/c/vector.h"
|
|
#include "mlx/c/version.h"
|
|
|
|
#endif
|