From f4701e5a6fadf4625a69285844637165a5a1eb69 Mon Sep 17 00:00:00 2001 From: Illia Silin <98187287+illsilin@users.noreply.github.com> Date: Tue, 16 Jul 2024 09:19:23 -0700 Subject: [PATCH 1/2] fix ASAN target list --- CMakeLists.txt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e8626b2cb9..557975128d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -111,8 +111,16 @@ message("checking which targets are supported") #These targets will be filtered and only supported ones will be used #Setting GPU_TARGETS on command line will override this list if(NOT PROFILER_ONLY) + if(NOT ENABLE_ASAN_PACKAGING) + #build CK for all supported targets 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() + #build CK only for xnack-supported targets + rocm_check_target_ids(DEFAULT_GPU_TARGETS + TARGETS "gfx908:xnack+;gfx90a:xnack+;gfx940:xnack+;gfx941:xnack+;gfx942:xnack+") + set(GPU_TARGETS "${DEFAULT_GPU_TARGETS}" CACHE STRING " " FORCE) + endif() else() add_definitions(-DPROFILER_ONLY) set(GPU_TARGETS "" CACHE STRING "" FORCE) From a5cd58c9270f32b3a37f18127b80ab5a3ce12a8b Mon Sep 17 00:00:00 2001 From: pramenku <7664080+pramenku@users.noreply.github.com> Date: Thu, 18 Jul 2024 18:57:05 +0530 Subject: [PATCH 2/2] Update CMakeLists.txt removed GFX12 target --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 557975128d..57e52a99e2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -114,7 +114,7 @@ if(NOT PROFILER_ONLY) if(NOT ENABLE_ASAN_PACKAGING) #build CK for all supported targets rocm_check_target_ids(DEFAULT_GPU_TARGETS - TARGETS "gfx908;gfx90a;gfx940;gfx941;gfx942;gfx1030;gfx1100;gfx1101;gfx1102;gfx1200;gfx1201") + TARGETS "gfx908;gfx90a;gfx940;gfx941;gfx942;gfx1030;gfx1100;gfx1101;gfx1102") else() #build CK only for xnack-supported targets rocm_check_target_ids(DEFAULT_GPU_TARGETS