[Openmp-commits] [PATCH] D51787: [libomptarget-nvptx] Fix ancestor_thread_num and team_size (non-SPMD)
Jonas Hahnfeld via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Fri Sep 7 06:36:00 PDT 2018
Hahnfeld created this revision.
Hahnfeld added reviewers: AlexEichenberger, grokos, kkwli0.
Herald added subscribers: openmp-commits, jfb.
Hahnfeld added a dependency: D51786: [libomptarget-nvptx] Add tests for nested parallelism.
According to OpenMP 4.5, p250:12-14:
If the requested nest level is outside the range of 0 and the
nest level of the current thread, as returned by the omp_get_level
routine, the routine returns -1.
The SPMD code path will need a similar fix.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6777 bytes
Desc: not available
More information about the Openmp-commits