aboutsummaryrefslogtreecommitdiff
path: root/openmp/runtime/src/kmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'openmp/runtime/src/kmp.h')
-rw-r--r--openmp/runtime/src/kmp.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/openmp/runtime/src/kmp.h b/openmp/runtime/src/kmp.h
index 818edf9..83afc0e 100644
--- a/openmp/runtime/src/kmp.h
+++ b/openmp/runtime/src/kmp.h
@@ -4621,6 +4621,13 @@ static inline int __kmp_adjust_gtid_for_hidden_helpers(int gtid) {
return adjusted_gtid;
}
+#if ENABLE_LIBOMPTARGET
+// Pointers to callbacks registered by the offload library to be notified of
+// task progress.
+extern void (*kmp_target_sync_cb)(ident_t *loc_ref, int gtid,
+ void *current_task, void *event);
+#endif // ENABLE_LIBOMPTARGET
+
// Support for error directive
typedef enum kmp_severity_t {
severity_warning = 1,