[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 12:03:15 PDT 2022
dpalermo created this revision.
dpalermo added reviewers: dpalermo, jhuber6, JonChesterfield, ronlieb.
Herald added subscribers: kosarev, kerbowa, guansong, t-tye, tpr, dstuttard, yaxunl, jvesely, kzhuravl.
Herald added a project: All.
dpalermo requested review of this revision.
Herald added subscribers: openmp-commits, sstefan1, wdng.
Herald added a reviewer: jdoerfert.
Herald added a project: OpenMP.
This patch adds OpenMP device runtime build support for the gfx1100, gfx1101, gfx1102, gfx1103 targets.
Repository:
rG LLVM Github Monorepo
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.462258.patch
Type: text/x-patch
Size: 1397 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20220922/17851acf/attachment.bin>
More information about the Openmp-commits
mailing list