diff --git a/CMakeLists.txt b/CMakeLists.txt index b27e6ab4fb..fc0cc4ddba 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -112,7 +112,7 @@ message("checking which targets are supported") #Setting GPU_TARGETS on command line will override this list if(NOT PROFILER_ONLY) rocm_check_target_ids(DEFAULT_GPU_TARGETS - TARGETS "gfx908;gfx90a;gfx940;gfx941;gfx942;gfx1030;gfx1100;gfx1101;gfx1102") + TARGETS "gfx908;gfx90a;gfx940;gfx941;gfx942;gfx1030;gfx1100;gfx1101;gfx1102;gfx1200;gfx1201") else() add_definitions(-DPROFILER_ONLY) set(GPU_TARGETS "" CACHE STRING "" FORCE) @@ -148,7 +148,7 @@ if (GPU_TARGETS) add_definitions(-DCK_USE_XDL) set(CK_USE_XDL "ON") endif() - if (GPU_TARGETS MATCHES "gfx11") + if (GPU_TARGETS MATCHES "gfx11" OR GPU_TARGETS MATCHES "gfx12") add_definitions(-DCK_USE_WMMA) set(CK_USE_WMMA "ON") endif()