[Openmp-commits] [PATCH] D68369: Use -1 to indicate all lanes, to handle 32 and 64 wide architectures

Ron Lieberman via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Oct 2 19:28:32 PDT 2019


ronlieb added inline comments.


================
Comment at: openmp/libomptarget/deviceRTLs/nvptx/src/parallel.cu:323
     IncParallelLevel(IsActiveParallelRegion,
-                     IsActiveParallelRegion ? 0xFFFFFFFF : 1u);
+                     IsActiveParallelRegion ? __kmpc_impl_all_lanes : 1u);
   }
----------------
is there some applicable naming convention for named constants?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D68369





More information about the Openmp-commits mailing list