[Openmp-commits] [openmp] 12ac0f6 - [OpenMP][DeviceRTL][AMDGPU] Add missing libomptarget build targets (#65964)

via Openmp-commits openmp-commits at lists.llvm.org
Mon Sep 11 06:43:55 PDT 2023


Author: Michael Halkenhäuser
Date: 2023-09-11T15:43:51+02:00
New Revision: 12ac0f6ede18579ddea0f9549ca9f9619f39f790

URL: https://github.com/llvm/llvm-project/commit/12ac0f6ede18579ddea0f9549ca9f9619f39f790
DIFF: https://github.com/llvm/llvm-project/commit/12ac0f6ede18579ddea0f9549ca9f9619f39f790.diff

LOG: [OpenMP][DeviceRTL][AMDGPU] Add missing libomptarget build targets (#65964)

Extend CMake variable `all_amdgpu_architectures` by `gfx941` and
`gfx942`.

Added: 
    

Modified: 
    openmp/libomptarget/DeviceRTL/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/openmp/libomptarget/DeviceRTL/CMakeLists.txt b/openmp/libomptarget/DeviceRTL/CMakeLists.txt
index 0cbc6117782a441..fee2414b456a14c 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


        


More information about the Openmp-commits mailing list