The LLVM OMPD library returns ompd_rc_unsupported or do not provide certain important ICVs for NVIDIA GPU handles. The following is the list I have so far:
- ompd_get_icv_from_scope("ompd-thread-num-var"), even though "ICV name=ompd-thread-num-var, id=7, scope=3" is returned from enumerate ICVs for the GPU.
- ICV ("ompd-implicit-var") is not supported on the GPU. Therefore, is_implicit_task() cannot be implemented.
- ICV ("active-levels-var") is not supported on the GPU. Therefore, is_in_parallel() cannot be implemented (via, active_levels > 0).
- ICV ("ompd-final-var") is not supported on the GPU. Therefore, is_in_final() cannot be implemented.