[Openmp-commits] [PATCH] D52436: [OpenMP][libomptarget] Add runtime functions for default schedule for distribute

Alexey Bataev via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Sep 25 10:23:56 PDT 2018

ABataev added inline comments.

Comment at: libomptarget/deviceRTLs/nvptx/src/loop.cu:243
+    T ub = *pupper;
+    ST stride = *pstride;
+    T entityId, numberOfEntities, chunkSize;
You don't use the initial value of the `stride` variable, you can declare on the first use.
The same for `ub`

  rOMP OpenMP


More information about the Openmp-commits mailing list