[Openmp-commits] [PATCH] D66851: [libomptarget] Refactor activemask macro to inline function

Alexey Bataev via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Aug 28 07:18:59 PDT 2019


ABataev added inline comments.


================
Comment at: openmp/libomptarget/deviceRTLs/nvptx/src/target_impl.h:46
+// __ballot(1) in Cuda 8.0 is replaced with __activemask().
+INLINE __kmpc_impl_lanemask_t __kmpc_impl_activemask() {
+#if CUDA_VERSION >= 9000
----------------
I would suggest to change the types of all variables used as mask to __kmpc_impl_lanemask_t, just like for this function.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D66851





More information about the Openmp-commits mailing list