[Openmp-commits] [PATCH] D56100: [OPENMP][NVPTX]Fixed initialization of the data-sharing interface.

George Rokos via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Dec 27 08:11:49 PST 2018


grokos added inline comments.


================
Comment at: libomptarget/deviceRTLs/nvptx/src/data_sharing.cu:449
+  ((int *)&FrameP)[0] = __SHFL_SYNC(CurActive, ((int *)&FrameP)[0], 0);
+  if (sizeof(FrameP) == 8)
+    ((int *)&FrameP)[1] = __SHFL_SYNC(CurActive, ((int *)&FrameP)[1], 0);
----------------
Isn't `FrameP` always 8-bytes long?


Repository:
  rOMP OpenMP

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

https://reviews.llvm.org/D56100





More information about the Openmp-commits mailing list