The method ThreadsInTeam is used to determine the number of threads to be used in a parallel region under SPMD mode (see line 127 of supporti.h in libomptarget/deviceRTLs/nvptx/src/). This patch fixes the corresponding debug print upon initialization of the kernel in SPMD mode.
Details
Details
Diff Detail
Diff Detail
- Repository
- rOMP OpenMP
Event Timeline
Comment Actions
That's correct, debug printfs were reporting zero threads to be used in SPMD region instead of the actual number used.
Committed revision 323978.