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

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


llvmbot wrote:

@llvm/pr-subscribers-openmp

<details>
<summary>Changes</summary>

Extend CMake variable `all_amdgpu_architectures` by `gfx941` and `gfx942`.
--
Full diff: https://github.com/llvm/llvm-project/pull/65964.diff

1 Files Affected:

- (modified) openmp/libomptarget/DeviceRTL/CMakeLists.txt (+4-3) 


<pre>
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
</pre>

</details>

https://github.com/llvm/llvm-project/pull/65964


More information about the Openmp-commits mailing list