[libomptarget][amdgpu] Build openmp for two more targets
authorJon Chesterfield <jonathanchesterfield@gmail.com>
Fri, 25 Jun 2021 18:02:02 +0000 (19:02 +0100)
committerJon Chesterfield <jonathanchesterfield@gmail.com>
Fri, 25 Jun 2021 18:02:03 +0000 (19:02 +0100)
[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

openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt

index 63c1ce2..1c5b485 100644 (file)
@@ -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()