[Openmp-commits] [openmp] 76c0c0c - [OpenMP][NFC] Fix formatting in CUDA plugin

via Openmp-commits openmp-commits at lists.llvm.org
Thu Jul 22 18:53:11 PDT 2021


Author: Joseph Huber
Date: 2021-07-22T21:50:40-04:00
New Revision: 76c0c0ca86a17d4efbc1765dcd44a7b7f1796e0d

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

LOG: [OpenMP][NFC] Fix formatting in CUDA plugin

Added: 
    

Modified: 
    openmp/libomptarget/plugins/cuda/src/rtl.cpp

Removed: 
    


################################################################################
diff  --git a/openmp/libomptarget/plugins/cuda/src/rtl.cpp b/openmp/libomptarget/plugins/cuda/src/rtl.cpp
index da38c68a7142..18779d6833c1 100644
--- a/openmp/libomptarget/plugins/cuda/src/rtl.cpp
+++ b/openmp/libomptarget/plugins/cuda/src/rtl.cpp
@@ -1119,9 +1119,10 @@ class DeviceRTLTy {
              ? getOffloadEntry(DeviceId, TgtEntryPtr)->name
              : "(null)",
          CudaBlocksPerGrid, CudaThreadsPerBlock,
-         (KernelInfo->ExecutionMode != SPMD 
-             ? (KernelInfo->ExecutionMode == GENERIC ? "Generic" : "SPMD-Generic")
-             : "SPMD"));
+         (KernelInfo->ExecutionMode != SPMD
+              ? (KernelInfo->ExecutionMode == GENERIC ? "Generic"
+                                                      : "SPMD-Generic")
+              : "SPMD"));
 
     CUstream Stream = getStream(DeviceId, AsyncInfo);
     Err = cuLaunchKernel(KernelInfo->Func, CudaBlocksPerGrid, /* gridDimY */ 1,


        


More information about the Openmp-commits mailing list