mirror of
https://github.com/ml-explore/mlx.git
synced 2025-09-02 05:14:40 +08:00
jagrit's commit files
This commit is contained in:
11
benchmarks/cpp/CMakeLists.txt
Normal file
11
benchmarks/cpp/CMakeLists.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
function(build_benchmark SRCFILE)
|
||||
get_filename_component(src_name ${SRCFILE} NAME_WE)
|
||||
set(target "${src_name}")
|
||||
add_executable(${target} ${SRCFILE})
|
||||
target_link_libraries(${target} PRIVATE mlx)
|
||||
endfunction(build_benchmark)
|
||||
|
||||
build_benchmark(single_ops.cpp)
|
||||
build_benchmark(irregular_strides.cpp)
|
||||
build_benchmark(compare_devices.cpp)
|
||||
build_benchmark(autograd.cpp)
|
Reference in New Issue
Block a user