diff --git a/projects/rocprim/rocprim/include/rocprim/config.hpp b/projects/rocprim/rocprim/include/rocprim/config.hpp index 50a65505db7..67310fa93c9 100644 --- a/projects/rocprim/rocprim/include/rocprim/config.hpp +++ b/projects/rocprim/rocprim/include/rocprim/config.hpp @@ -169,6 +169,7 @@ __builtin_amdgcn_processor_is("gfx1100") || __builtin_amdgcn_processor_is("gfx1101") \ || __builtin_amdgcn_processor_is("gfx1102") \ || __builtin_amdgcn_processor_is("gfx1103") \ + || __builtin_amdgcn_processor_is("gfx1151") \ || __builtin_amdgcn_processor_is("gfx1152") \ || __builtin_amdgcn_processor_is("gfx1153") \ || __builtin_amdgcn_processor_is("gfx11-generic") diff --git a/projects/rocprim/rocprim/include/rocprim/device/config_types.hpp b/projects/rocprim/rocprim/include/rocprim/device/config_types.hpp index e20a65b3e52..fedcc3fe7a6 100644 --- a/projects/rocprim/rocprim/include/rocprim/device/config_types.hpp +++ b/projects/rocprim/rocprim/include/rocprim/device/config_types.hpp @@ -173,6 +173,7 @@ enum class target_arch : unsigned int gfx1030 = 1030, gfx1100 = 1100, gfx1102 = 1102, + gfx1151 = 1151, gfx1152 = 1152, gfx1153 = 1153, gfx1200 = 1200, @@ -224,6 +225,7 @@ constexpr auto target_arch_descriptors = std::array{ X(gfx1030), X(gfx1100), X(gfx1102), + X(gfx1151), X(gfx1152), X(gfx1153), X(gfx1200), @@ -271,6 +273,7 @@ constexpr arch::wavefront::target arch_wavefront_size(const target_arch target_a case target_arch::gfx1030: return arch::wavefront::target::size32; case target_arch::gfx1100: return arch::wavefront::target::size32; case target_arch::gfx1102: return arch::wavefront::target::size32; + case target_arch::gfx1151: return arch::wavefront::target::size32; case target_arch::gfx1152: return arch::wavefront::target::size32; case target_arch::gfx1153: return arch::wavefront::target::size32; case target_arch::gfx1200: return arch::wavefront::target::size32; @@ -505,6 +508,7 @@ auto dispatch_target_arch([[maybe_unused]] const target_arch target_arch) X(gfx1030); X(gfx1100); X(gfx1102); + X(gfx1151); X(gfx1152); X(gfx1153); X(gfx1200);