Open rpereira-dev opened 1 month ago
Just found other callbacks not raised when running in single-thread, which I believe should be
ompt_callback_dispatch
ompt_callback_sync_region_wait
and ompt_callback_sync_region
There is a few places in the LLVM runtime where there is some sort of serial elision (grep nth == 1
or nthreads == 1
) which is probably where to start looking at
@llvm/issue-subscribers-openmp
Author: PEREIRA Romain (rpereira-dev)
The issue
LLVM's OpenMP does not raises the
ompt_callback_dispatch_t
callback when running with a single thread instatic
modeStandard
The standard 5.2 specifies
Reproducer
OMPT tool used
Compiled and run as
Outputs
Remark
Any other schedule mode triggers the callback properly (even
schedule(runtime)
andOMP_SCHEDULE=static
)