Commit 7b729fdd authored by Adam Osewski's avatar Adam Osewski
Browse files

Build test only on MI series GPUS.

parent 5b2eb1ab
add_custom_target(test_work_scheduling)
add_gtest_executable(test_strided_reduction_tile_loop test_strided_reduction_tile_loop.cpp)
target_link_libraries(test_strided_reduction_tile_loop PRIVATE utility)
add_dependencies(test_work_scheduling test_strided_reduction_tile_loop)
list(APPEND gpu_list gfx908 gfx90a gfx940 gfx941 gfx942)
set(target 0)
foreach(gpu IN LISTS GPU_TARGETS)
if(gpu IN_LIST gpu_list AND target EQUAL 0)
add_custom_target(test_work_scheduling)
add_gtest_executable(test_strided_reduction_tile_loop test_strided_reduction_tile_loop.cpp)
target_link_libraries(test_strided_reduction_tile_loop PRIVATE utility)
add_dependencies(test_work_scheduling test_strided_reduction_tile_loop)
set(target 1)
endif()
endforeach()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment