[Openmp-commits] [PATCH] D51222: [OPENMP][NVPTX] Lightweight runtime support for SPMD mode.

Jonas Hahnfeld via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Sep 3 10:33:33 PDT 2018


Hahnfeld added inline comments.


================
Comment at: openmp/trunk/libomptarget/deviceRTLs/nvptx/src/loop.cu:146-167
+    case kmp_sched_static_balanced_chunk: {
+      if (chunk > 0) {
+        entityId =
+            GetOmpThreadId(tid, IsSPMDExecutionMode, IsRuntimeUninitialized);
+        numberOfEntities = GetNumberOfOmpThreads(tid, IsSPMDExecutionMode,
+                                                 IsRuntimeUninitialized);
+
----------------
Has this change related to `kmp_sched_static_balanced_chunk` slipped into this patch on commit? I can't find it in the original review.

(No need to revert, just curious...)


Repository:
  rL LLVM

https://reviews.llvm.org/D51222





More information about the Openmp-commits mailing list