CMakeLists.txt 717 Bytes
Newer Older
1
2
add_gtest_executable(test_layout test_layout.cpp)
target_link_libraries(test_layout PRIVATE utility)
3
4
add_gtest_executable(test_tensor test_tensor.cpp)
target_link_libraries(test_tensor PRIVATE utility)
5
6
7
8
add_gtest_executable(test_copy test_copy.cpp)
target_link_libraries(test_copy PRIVATE utility)
add_gtest_executable(test_partition test_partition.cpp)
target_link_libraries(test_partition PRIVATE utility)
9
10
if(GPU_TARGETS MATCHES "gfx908" OR GPU_TARGETS MATCHES "gfx90a" OR
   GPU_TARGETS MATCHES "gfx940" OR GPU_TARGETS MATCHES "gfx941" OR
illsilin's avatar
illsilin committed
11
   GPU_TARGETS MATCHES "gfx942" OR GPU_TARGETS MATCHES "gfx950")
12
13
14
    add_gtest_executable(test_gemm test_gemm.cpp)
    target_link_libraries(test_gemm PRIVATE utility)
endif()