add_custom_target(test_softmax) 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) 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) add_dependencies(test_softmax test_softmax_rank3) add_dependencies(test_softmax test_softmax_rank4) add_dependencies(test_softmax test_softmax_interface)