[PATCH] D14566: Add ompt_event_task_switch event into OMPT/OpenMP

Jonathan Peyton via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 11 09:35:06 PST 2015


jlpeyton added inline comments.

================
Comment at: runtime/src/include/41/ompt.h.var:316-319
@@ -315,6 +315,6 @@
 
-typedef void (*ompt_task_switch_callback_t) (
-    ompt_task_id_t suspended_task_id, /* tool data for suspended task */
-    ompt_task_id_t resumed_task_id    /* tool data for resumed task   */
+typedef void (*ompt_task_pair_callback_t) (
+    ompt_task_id_t first_task_id,
+    ompt_task_id_t second_task_id
 );
 
----------------
Should this be changed in 40/ompt.h.var and 30/ompt.h.var as well?


http://reviews.llvm.org/D14566





More information about the llvm-commits mailing list