[Openmp-commits] [openmp] e0b9364 - [AMDGPU] Add gfx90a and gfx940 to get_elf_mach_gfx_name.cpp
Stanislav Mekhanoshin via Openmp-commits
openmp-commits at lists.llvm.org
Thu Mar 17 13:05:15 PDT 2022
Author: Stanislav Mekhanoshin
Date: 2022-03-17T13:05:07-07:00
New Revision: e0b9364b5c15eb2ba2c17f5141d627428a3ae1ff
URL: https://github.com/llvm/llvm-project/commit/e0b9364b5c15eb2ba2c17f5141d627428a3ae1ff
DIFF: https://github.com/llvm/llvm-project/commit/e0b9364b5c15eb2ba2c17f5141d627428a3ae1ff.diff
LOG: [AMDGPU] Add gfx90a and gfx940 to get_elf_mach_gfx_name.cpp
Differential Revision: https://reviews.llvm.org/D120849
Added:
Modified:
openmp/libomptarget/plugins/amdgpu/impl/get_elf_mach_gfx_name.cpp
Removed:
################################################################################
diff --git a/openmp/libomptarget/plugins/amdgpu/impl/get_elf_mach_gfx_name.cpp b/openmp/libomptarget/plugins/amdgpu/impl/get_elf_mach_gfx_name.cpp
index ee2ea3a1bafaf..51ad8108c512b 100644
--- a/openmp/libomptarget/plugins/amdgpu/impl/get_elf_mach_gfx_name.cpp
+++ b/openmp/libomptarget/plugins/amdgpu/impl/get_elf_mach_gfx_name.cpp
@@ -38,8 +38,12 @@ const char *get_elf_mach_gfx_name(uint32_t EFlags) {
return "gfx908";
case EF_AMDGPU_MACH_AMDGCN_GFX909:
return "gfx909";
+ case EF_AMDGPU_MACH_AMDGCN_GFX90A:
+ return "gfx90a";
case EF_AMDGPU_MACH_AMDGCN_GFX90C:
return "gfx90c";
+ case EF_AMDGPU_MACH_AMDGCN_GFX940:
+ return "gfx940";
case EF_AMDGPU_MACH_AMDGCN_GFX1010:
return "gfx1010";
case EF_AMDGPU_MACH_AMDGCN_GFX1011:
More information about the Openmp-commits
mailing list