[Openmp-commits] [PATCH] Modify runtime to call correct functions for OMPT
Olga Malysheva
olga.malysheva at intel.com
Fri Apr 24 09:59:01 PDT 2015
================
Comment at: runtime/src/kmp.h:3071
@@ -3064,3 +3070,3 @@
extern int __kmp_fork_call( ident_t *loc, int gtid, enum fork_context_e fork_context,
- kmp_int32 argc, microtask_t microtask, launch_t invoker,
+ kmp_int32 argc, void *unwrapped_task, microtask_t microtask, launch_t invoker,
/* TODO: revert workaround for Intel(R) 64 tracker #96 */
----------------
It seems to be reasonable to put this additional argument under #if OMPT_SUPPORT macro as well.
================
Comment at: runtime/src/kmp_gsupport.c:343
@@ -277,3 +342,3 @@
void
-__kmp_GOMP_fork_call(ident_t *loc, int gtid, microtask_t wrapper, int argc,...)
+__kmp_GOMP_fork_call(ident_t *loc, int gtid, void (*unwrapped_task)(void *), microtask_t wrapper, int argc,...)
{
----------------
Same here - let's put the additional argument under #if OMPT_SUPPORT
http://reviews.llvm.org/D8918
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the Openmp-commits
mailing list