We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af5c26c commit c33d9b5Copy full SHA for c33d9b5
CMakeLists.txt
@@ -47,8 +47,11 @@ add_executable(unified_cuda src/unified.cpp)
47
target_link_libraries(unified_af benchmark ArrayFire::af af_benchmark)
48
target_link_libraries(unified_cuda benchmark ArrayFire::afcuda af_benchmark)
49
50
+enable_testing()
51
+
52
function(addBenchmark name)
53
add_executable(${name} src/${name}.cpp)
54
+ add_test(${name} ${name})
55
target_link_libraries(${name} af_benchmark)
56
endfunction()
57
0 commit comments