mirror of
https://github.com/ml-explore/mlx.git
synced 2025-12-16 01:49:05 +08:00
Detect metal version and propagate correctly for JIT (#1109)
* detect metal version and propagate correctly for JIT * remove softmax * fix versions
This commit is contained in:
@@ -5,10 +5,16 @@ add_custom_command(
|
||||
${CMAKE_CURRENT_BINARY_DIR}/compiled_preamble.cpp
|
||||
${CMAKE_C_COMPILER}
|
||||
${PROJECT_SOURCE_DIR}
|
||||
"-D${MLX_METAL_VERSION}"
|
||||
DEPENDS make_compiled_preamble.sh
|
||||
kernels/compiled_preamble.h
|
||||
kernels/unary.h
|
||||
kernels/binary.h
|
||||
kernels/bf16.h
|
||||
kernels/erf.h
|
||||
kernels/expm1f.h
|
||||
kernels/utils.h
|
||||
kernels/bf16_math.h
|
||||
)
|
||||
|
||||
add_custom_target(
|
||||
|
||||
Reference in New Issue
Block a user