mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-04-19 22:39:03 +00:00
get rid of gfx900/906, set rocm5.7 as default (#958)
This commit is contained in:
@@ -106,7 +106,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 "gfx900;gfx906;gfx908;gfx90a;gfx940;gfx941;gfx942;gfx1030;gfx1100;gfx1101;gfx1102")
|
||||
TARGETS "gfx908;gfx90a;gfx940;gfx941;gfx942;gfx1030;gfx1100;gfx1101;gfx1102")
|
||||
else()
|
||||
add_definitions(-DPROFILER_ONLY)
|
||||
set(GPU_TARGETS "" CACHE STRING "" FORCE)
|
||||
@@ -114,7 +114,7 @@ else()
|
||||
message(FATAL_ERROR "For PROFILE_ONLY build, please do not set GPU_TARGETS, use GPU_ARCH = gfx90, gfx94, gfx10, or gfx11")
|
||||
endif()
|
||||
if(GPU_ARCH MATCHES "gfx90")
|
||||
rocm_check_target_ids(DEFAULT_GPU_TARGETS TARGETS "gfx900;gfx906;gfx908;gfx90a")
|
||||
rocm_check_target_ids(DEFAULT_GPU_TARGETS TARGETS "gfx908;gfx90a")
|
||||
elseif(GPU_ARCH MATCHES "gfx94")
|
||||
rocm_check_target_ids(DEFAULT_GPU_TARGETS TARGETS "gfx940;gfx941;gfx942")
|
||||
elseif(GPU_ARCH MATCHES "gfx10")
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
FROM ubuntu:20.04
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
ARG ROCMVERSION=5.6
|
||||
ARG ROCMVERSION=5.7
|
||||
ARG compiler_version=""
|
||||
ARG compiler_commit=""
|
||||
|
||||
|
||||
@@ -74,7 +74,7 @@ struct AddScale
|
||||
a = scale * (a0 + a1);
|
||||
}
|
||||
|
||||
//this attribute will force copy_function applying element_wise with vector_type
|
||||
// this attribute will force copy_function applying element_wise with vector_type
|
||||
static constexpr ck::index_t vec_len = 4;
|
||||
|
||||
float scale = 1.0;
|
||||
|
||||
Reference in New Issue
Block a user