[Openmp-commits] [openmp] [OpenMP][OMPT] Emit `dispatch` callback for serial and zero-trip loops (PR #207773)
Jan Patrick Lehr via Openmp-commits
openmp-commits at lists.llvm.org
Tue Aug 4 07:19:46 PDT 2026
================
@@ -241,6 +259,24 @@ static void __kmp_for_static_init(ident_t *loc, kmp_int32 global_tid,
ompt_work_type, ompt_scope_begin, &(team_info->parallel_data),
&(task_info->task_data), *pstride, codeptr);
}
+ if (ompt_enabled.ompt_callback_dispatch) {
----------------
jplehr wrote:
Is it required that we have the exact same code twice here or am I missing something?
https://github.com/llvm/llvm-project/pull/207773
More information about the Openmp-commits
mailing list