summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/src/ompt-event-specific.h
diff options
context:
space:
mode:
Diffstat (limited to 'openmp/runtime/src/ompt-event-specific.h')
-rw-r--r--openmp/runtime/src/ompt-event-specific.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/openmp/runtime/src/ompt-event-specific.h b/openmp/runtime/src/ompt-event-specific.h
index 28c1512ac26..fdf121371a0 100644
--- a/openmp/runtime/src/ompt-event-specific.h
+++ b/openmp/runtime/src/ompt-event-specific.h
@@ -141,4 +141,12 @@
#define ompt_event_flush_implemented ompt_event_UNIMPLEMENTED
+#if OMP_40_ENABLED
+# define ompt_event_task_dependences_implemented ompt_event_MAY_ALWAYS_TRACE
+# define ompt_event_task_dependence_pair_implemented ompt_event_MAY_ALWAYS_TRACE
+#else
+# define ompt_event_task_dependences_implemented ompt_event_UNIMPLEMENTED
+# define ompt_event_task_dependence_pair_implemented ompt_event_UNIMPLEMENTED
+#endif /* OMP_40_ENABLED */
+
#endif
OpenPOWER on IntegriCloud