[AMDGPU] Added missing gfx1031 cases to CGOpenMPRuntimeGPU.cpp
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Wed, 5 Aug 2020 19:39:03 +0000 (12:39 -0700)
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Wed, 5 Aug 2020 19:39:03 +0000 (12:39 -0700)
clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp

index 452eb15..9440758 100644 (file)
@@ -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<unsigned, unsigned> getSMsBlocksPerSM(CodeGenModule &CGM) {
   case CudaArch::GFX1011:
   case CudaArch::GFX1012:
   case CudaArch::GFX1030:
+  case CudaArch::GFX1031:
   case CudaArch::UNKNOWN:
     break;
   case CudaArch::LAST: