"vscode:/vscode.git/clone" did not exist on "1e731018545cd1a11a266ed356db975db870adb4"
CMakeLists.txt 821 Bytes
Newer Older
1
2
add_custom_target(test_softmax)

3
4
5
add_gtest_executable(test_softmax_rank3 test_softmax_rank3.cpp)
add_gtest_executable(test_softmax_rank4 test_softmax_rank4.cpp)
add_gtest_executable(test_softmax_interface test_softmax_interface.cpp)
6
add_gtest_executable(test_softmax_host_ref test_softmax_host_ref.cpp)
7
8
9
target_link_libraries(test_softmax_rank3 PRIVATE utility device_softmax_instance)
target_link_libraries(test_softmax_rank4 PRIVATE utility device_softmax_instance)
target_link_libraries(test_softmax_interface PRIVATE utility device_softmax_instance)
10
target_link_libraries(test_softmax_host_ref PRIVATE utility)
11
12
13
add_dependencies(test_softmax test_softmax_rank3)
add_dependencies(test_softmax test_softmax_rank4)
add_dependencies(test_softmax test_softmax_interface)
14
add_dependencies(test_softmax test_softmax_host_ref)