mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-13 01:36:06 +00:00
* enable gfx941/942 targets * fix clang format * fix the cmake logic for multiple targets * fix cmake syntax for looping over targets * add gfx941/942 support for gemm_xdl instances
10 lines
339 B
CMake
10 lines
339 B
CMake
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_gtest_executable(test_gemm_splitk test_gemm_splitk.cpp)
|
|
target_link_libraries(test_gemm_splitk PRIVATE utility device_gemm_splitk_instance)
|
|
set(target 1)
|
|
endif()
|
|
endforeach()
|