File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -111,8 +111,16 @@ message("checking which targets are supported")
111111#These targets will be filtered and only supported ones will be used
112112#Setting GPU_TARGETS on command line will override this list
113113if (NOT PROFILER_ONLY)
114+ if (NOT ENABLE_ASAN_PACKAGING)
115+ #build CK for all supported targets
114116 rocm_check_target_ids (DEFAULT_GPU_TARGETS
115117 TARGETS "gfx908;gfx90a;gfx940;gfx941;gfx942;gfx1030;gfx1100;gfx1101;gfx1102" )
118+ else ()
119+ #build CK only for xnack-supported targets
120+ rocm_check_target_ids (DEFAULT_GPU_TARGETS
121+ TARGETS "gfx908:xnack+;gfx90a:xnack+;gfx940:xnack+;gfx941:xnack+;gfx942:xnack+" )
122+ set (GPU_TARGETS "${DEFAULT_GPU_TARGETS} " CACHE STRING " " FORCE )
123+ endif ()
116124else ()
117125 add_definitions (-DPROFILER_ONLY )
118126 set (GPU_TARGETS "" CACHE STRING "" FORCE )
You can’t perform that action at this time.
0 commit comments