From f66b8fdc0a0b4b810fa1f1852ef33c8be143b6ea Mon Sep 17 00:00:00 2001 From: Jon Chesterfield Date: Fri, 25 Jun 2021 19:02:02 +0100 Subject: [PATCH] [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 --- openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt b/openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt index 63c1ce201af8..1c5b48513c38 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()