#include "libgomp.h"
#include "oacc-plugin.h"
#include "oacc-int.h"
+#include "acc_prof.h"
/* This plugin function is now obsolete. */
void
gomp_fatal ("invalid plugin function");
}
+/* Return the TLS data for the current thread. */
+
+struct goacc_thread *
+GOMP_PLUGIN_goacc_thread (void)
+{
+ return goacc_thread ();
+}
+
/* Return the target-specific part of the TLS data for the current thread. */
void *
}
return goacc_default_dims[i];
}
+
+void
+GOMP_PLUGIN_goacc_profiling_dispatch (acc_prof_info *prof_info,
+ acc_event_info *event_info,
+ acc_api_info *api_info)
+{
+ goacc_profiling_dispatch (prof_info, event_info, api_info);
+}