summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/src/ompt-internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'openmp/runtime/src/ompt-internal.h')
-rw-r--r--openmp/runtime/src/ompt-internal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/openmp/runtime/src/ompt-internal.h b/openmp/runtime/src/ompt-internal.h
index a8f3bac49a4..6b92eaa5e49 100644
--- a/openmp/runtime/src/ompt-internal.h
+++ b/openmp/runtime/src/ompt-internal.h
@@ -22,7 +22,8 @@
#define _OMP_EXTERN extern "C"
#define OMPT_INVOKER(x) \
- ((x == fork_context_gnu) ? ompt_invoker_program : ompt_invoker_runtime)
+ ((x == fork_context_gnu) ? ompt_parallel_invoker_program \
+ : ompt_parallel_invoker_runtime)
#define ompt_callback(e) e##_callback
OpenPOWER on IntegriCloud