[Openmp-dev] bug in returning thread_num of ompt_get_task_info ?
Yonghong Yan via Openmp-dev
openmp-dev at lists.llvm.org
Fri Mar 16 10:59:48 PDT 2018
https://github.com/llvm-mirror/openmp/blob/master/runtime/src/ompt-specific.cpp#L400
>From the spec:
444:16-17Version 5.0 rev 2, November 2017
1.
16 If a non-NULL value was passed for thread_num, the value
returned in *thread_num
indicates the
2.
17 number of the thread in the parallel region executing the task.
It should return thread_num of the thread in the team, not the gtid?
Yonghong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20180316/8e57458d/attachment.html>
More information about the Openmp-dev
mailing list