From b06fe9278c86cdadc9e13f31f2017dbd13ad594d Mon Sep 17 00:00:00 2001 From: Michael Halkenhaeuser Date: Mon, 11 Sep 2023 09:04:51 -0400 Subject: [PATCH] [OpenMP][DeviceRTL][AMDGPU] Add missing libomptarget build targets Extend CMake variable `all_amdgpu_architectures` by gfx941 and gfx942. --- openmp/libomptarget/DeviceRTL/CMakeLists.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/openmp/libomptarget/DeviceRTL/CMakeLists.txt b/openmp/libomptarget/DeviceRTL/CMakeLists.txt index 0cbc6117782a4..fee2414b456a1 100644 --- a/openmp/libomptarget/DeviceRTL/CMakeLists.txt +++ b/openmp/libomptarget/DeviceRTL/CMakeLists.txt @@ -55,9 +55,10 @@ set(include_directory ${devicertl_base_directory}/include) set(source_directory ${devicertl_base_directory}/src) set(all_amdgpu_architectures "gfx700;gfx701;gfx801;gfx803;gfx900;gfx902;gfx906" - "gfx908;gfx90a;gfx90c;gfx940;gfx1010;gfx1030" - "gfx1031;gfx1032;gfx1033;gfx1034;gfx1035;gfx1036" - "gfx1100;gfx1101;gfx1102;gfx1103;gfx1150;gfx1151") + "gfx908;gfx90a;gfx90c;gfx940;gfx941;gfx942;gfx1010" + "gfx1030;gfx1031;gfx1032;gfx1033;gfx1034;gfx1035" + "gfx1036;gfx1100;gfx1101;gfx1102;gfx1103;gfx1150" + "gfx1151") set(all_nvptx_architectures "sm_35;sm_37;sm_50;sm_52;sm_53;sm_60;sm_61;sm_62" "sm_70;sm_72;sm_75;sm_80;sm_86;sm_87;sm_89;sm_90") set(all_gpu_architectures