mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-11 00:40:09 +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
12 lines
508 B
CMake
12 lines
508 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_example_executable(example_convnd_bwd_data_xdl_fp16 convnd_bwd_data_xdl_fp16.cpp)
|
|
target_link_libraries(example_convnd_bwd_data_xdl_fp16 PRIVATE utility)
|
|
set(target 1)
|
|
endif()
|
|
endforeach()
|
|
add_example_executable(example_convnd_bwd_data_dl_fp16 convnd_bwd_data_dl_fp16.cpp)
|
|
target_link_libraries(example_convnd_bwd_data_dl_fp16 PRIVATE utility)
|