[Openmp-commits] [PATCH] D106460: [OpenMP] Add new execution mode for SPMD execution with Generic semantics

Shilei Tian via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Jul 22 19:08:27 PDT 2021


tianshilei1992 added inline comments.


================
Comment at: openmp/libomptarget/plugins/cuda/src/rtl.cpp:1096
          CudaBlocksPerGrid, CudaThreadsPerBlock,
-         (KernelInfo->ExecutionMode == SPMD) ? "SPMD" : "Generic");
+         (KernelInfo->ExecutionMode == SPMD ||
+          KernelInfo->ExecutionMode == GENERIC_SPMD)
----------------
ggeorgakoudis wrote:
> print explicitly "SPMD_GENERIC" when the mode is such
Thx


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D106460/new/

https://reviews.llvm.org/D106460



More information about the Openmp-commits mailing list