diff options
author | Aakanksha <paakan@amd.com> | 2022-03-03 02:23:40 +0300 |
---|---|---|
committer | Aakanksha <paakan@amd.com> | 2022-03-03 02:26:38 +0300 |
commit | 840695814ae3e945dcc8c2e649929afeb8b629c1 (patch) | |
tree | 0945a10d1309a2de282e29343a9ffc432f4bbabf /openmp | |
parent | 93f42491a54cd30b6b873f6818ea39f282e8ef6c (diff) |
[AMDGPU] Add gfx1036 target
Differential Revision: https://reviews.llvm.org/D120846
Diffstat (limited to 'openmp')
-rw-r--r-- | openmp/libomptarget/DeviceRTL/CMakeLists.txt | 2 | ||||
-rw-r--r-- | openmp/libomptarget/plugins/amdgpu/impl/get_elf_mach_gfx_name.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/openmp/libomptarget/DeviceRTL/CMakeLists.txt b/openmp/libomptarget/DeviceRTL/CMakeLists.txt index 408ba9fa0727..729adff3f88b 100644 --- a/openmp/libomptarget/DeviceRTL/CMakeLists.txt +++ b/openmp/libomptarget/DeviceRTL/CMakeLists.txt @@ -96,7 +96,7 @@ foreach(sm ${nvptx_sm_list}) endif() endforeach() -set(amdgpu_mcpus gfx700 gfx701 gfx801 gfx803 gfx900 gfx902 gfx906 gfx908 gfx90a gfx90c gfx940 gfx1010 gfx1030 gfx1031) +set(amdgpu_mcpus gfx700 gfx701 gfx801 gfx803 gfx900 gfx902 gfx906 gfx908 gfx90a gfx90c gfx940 gfx1010 gfx1030 gfx1031 gfx1032 gfx1033 gfx1034 gfx1035 gfx1036) if (DEFINED LIBOMPTARGET_AMDGCN_GFXLIST) set(amdgpu_mcpus ${LIBOMPTARGET_AMDGCN_GFXLIST}) endif() 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 14782c9ac9d3..ee2ea3a1bafa 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 @@ -60,6 +60,8 @@ const char *get_elf_mach_gfx_name(uint32_t EFlags) { return "gfx1034"; case EF_AMDGPU_MACH_AMDGCN_GFX1035: return "gfx1035"; + case EF_AMDGPU_MACH_AMDGCN_GFX1036: + return "gfx1036"; default: return "--unknown gfx"; } |