From 105608a4c2821ca8f8340104614c1176ed1ed82d Mon Sep 17 00:00:00 2001 From: Stanislav Mekhanoshin Date: Wed, 5 Aug 2020 12:39:03 -0700 Subject: [PATCH] [AMDGPU] Added missing gfx1031 cases to CGOpenMPRuntimeGPU.cpp --- clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp b/clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp index 452eb15eb8d1..9440758a85b6 100644 --- a/clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp +++ b/clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp @@ -5014,6 +5014,7 @@ void CGOpenMPRuntimeGPU::processRequiresDirective( case CudaArch::GFX1011: case CudaArch::GFX1012: case CudaArch::GFX1030: + case CudaArch::GFX1031: case CudaArch::UNKNOWN: break; case CudaArch::LAST: @@ -5074,6 +5075,7 @@ static std::pair getSMsBlocksPerSM(CodeGenModule &CGM) { case CudaArch::GFX1011: case CudaArch::GFX1012: case CudaArch::GFX1030: + case CudaArch::GFX1031: case CudaArch::UNKNOWN: break; case CudaArch::LAST: