[Openmp-commits] [openmp] f66b8fd - [libomptarget][amdgpu] Build openmp for two more targets

Jon Chesterfield via Openmp-commits openmp-commits at lists.llvm.org
Fri Jun 25 11:02:12 PDT 2021


Author: Jon Chesterfield
Date: 2021-06-25T19:02:03+01:00
New Revision: f66b8fdc0a0b4b810fa1f1852ef33c8be143b6ea

URL: https://github.com/llvm/llvm-project/commit/f66b8fdc0a0b4b810fa1f1852ef33c8be143b6ea
DIFF: https://github.com/llvm/llvm-project/commit/f66b8fdc0a0b4b810fa1f1852ef33c8be143b6ea.diff

LOG: [libomptarget][amdgpu] Build openmp for two more targets

[libomptarget][amdgpu] Build openmp for two more targets

The 4800U APU is a gfx902 and the MI100 accelerator is a gfx908.
Both numbers are listed in ROCT topology.c

Reviewed By: jhuber6

Differential Revision: https://reviews.llvm.org/D104922

Added: 
    

Modified: 
    openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt b/openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt
index 63c1ce201af86..1c5b48513c385 100644
--- a/openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt
+++ b/openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt
@@ -98,7 +98,7 @@ else()
 endif()
 
 # create libraries
-set(mcpus gfx700 gfx701 gfx801 gfx803 gfx900 gfx906)
+set(mcpus gfx700 gfx701 gfx801 gfx803 gfx900 gfx902 gfx906 gfx908)
 if (DEFINED LIBOMPTARGET_AMDGCN_GFXLIST)
   set(mcpus ${LIBOMPTARGET_AMDGCN_GFXLIST})
 endif()


        


More information about the Openmp-commits mailing list