[Openmp-commits] [PATCH] D134465: [OpenMP][AMDGPU] Enable OpenMP device runtime build for gfx110[0123]

Dan Palermo via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Sep 22 18:51:12 PDT 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rGdb021abf33d3: [OpenMP][AMDGPU] Enable OpenMP device runtime build for gfx110[0123] (authored by dpalermo).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D134465/new/

https://reviews.llvm.org/D134465

Files:
  openmp/libomptarget/DeviceRTL/CMakeLists.txt
  openmp/libomptarget/plugins/amdgpu/impl/get_elf_mach_gfx_name.cpp


Index: openmp/libomptarget/plugins/amdgpu/impl/get_elf_mach_gfx_name.cpp
===================================================================
--- openmp/libomptarget/plugins/amdgpu/impl/get_elf_mach_gfx_name.cpp
+++ openmp/libomptarget/plugins/amdgpu/impl/get_elf_mach_gfx_name.cpp
@@ -66,6 +66,14 @@
     return "gfx1035";
   case EF_AMDGPU_MACH_AMDGCN_GFX1036:
     return "gfx1036";
+  case EF_AMDGPU_MACH_AMDGCN_GFX1100:
+    return "gfx1100";
+  case EF_AMDGPU_MACH_AMDGCN_GFX1101:
+    return "gfx1101";
+  case EF_AMDGPU_MACH_AMDGCN_GFX1102:
+    return "gfx1102";
+  case EF_AMDGPU_MACH_AMDGCN_GFX1103:
+    return "gfx1103";
   default:
     return "--unknown gfx";
   }
Index: openmp/libomptarget/DeviceRTL/CMakeLists.txt
===================================================================
--- openmp/libomptarget/DeviceRTL/CMakeLists.txt
+++ openmp/libomptarget/DeviceRTL/CMakeLists.txt
@@ -78,7 +78,7 @@
   endif()
 endforeach()
 
-set(amdgpu_mcpus gfx700 gfx701 gfx801 gfx803 gfx900 gfx902 gfx906 gfx908 gfx90a gfx90c gfx940 gfx1010 gfx1030 gfx1031 gfx1032 gfx1033 gfx1034 gfx1035 gfx1036)
+set(amdgpu_mcpus gfx700 gfx701 gfx801 gfx803 gfx900 gfx902 gfx906 gfx908 gfx90a gfx90c gfx940 gfx1010 gfx1030 gfx1031 gfx1032 gfx1033 gfx1034 gfx1035 gfx1036 gfx1100 gfx1101 gfx1102 gfx1103)
 if (DEFINED LIBOMPTARGET_AMDGCN_GFXLIST)
   set(amdgpu_mcpus ${LIBOMPTARGET_AMDGCN_GFXLIST})
 endif()


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134465.462374.patch
Type: text/x-patch
Size: 1397 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20220923/e4903f2b/attachment-0001.bin>


More information about the Openmp-commits mailing list