summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/test
diff options
context:
space:
mode:
authorJonas Hahnfeld <hahnjo@hahnjo.de>2017-11-06 15:13:06 +0000
committerJonas Hahnfeld <hahnjo@hahnjo.de>2017-11-06 15:13:06 +0000
commitdc5d849e2ba9923a18526a9ac5d4ff5a1b2a8080 (patch)
treec8acc761850a7d82e1781fd3dba49ece123524b5 /openmp/runtime/test
parent676350c16cd7eddd8be1593674cd51898200cf8b (diff)
downloadbcm5719-llvm-dc5d849e2ba9923a18526a9ac5d4ff5a1b2a8080.tar.gz
bcm5719-llvm-dc5d849e2ba9923a18526a9ac5d4ff5a1b2a8080.zip
[OMPT] Fix callback.h for tests for changes in TR6
This was also lost in the last commit. llvm-svn: 317484
Diffstat (limited to 'openmp/runtime/test')
-rwxr-xr-xopenmp/runtime/test/ompt/callback.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/openmp/runtime/test/ompt/callback.h b/openmp/runtime/test/ompt/callback.h
index 8e34d7087a6..52344a64872 100755
--- a/openmp/runtime/test/ompt/callback.h
+++ b/openmp/runtime/test/ompt/callback.h
@@ -485,9 +485,9 @@ on_ompt_callback_parallel_begin(
const void *codeptr_ra)
{
if(parallel_data->ptr)
- printf("%s\n", "0: parallel_data initially not null");
+ printf("0: parallel_data initially not null\n");
parallel_data->value = ompt_get_unique_id();
- printf("%" PRIu64 ": ompt_event_parallel_begin: parent_task_id=%" PRIu64 ", parent_task_frame.exit=%p, parent_task_frame.reenter=%p, parallel_id=%" PRIu64 ", requested_team_size=%" PRIu32 ", codeptr_ra=%p, invoker=%d\n", ompt_get_thread_data()->value, parent_task_data->value, parent_task_frame->exit_frame, parent_task_frame->enter_frame, parallel_data->value, requested_team_size, codeptr_ra, invoker);
+ printf("%" PRIu64 ": ompt_event_parallel_begin: parent_task_id=%" PRIu64 ", parent_task_frame.exit=%p, parent_task_frame.reenter=%p, parallel_id=%" PRIu64 ", requested_team_size=%" PRIu32 ", codeptr_ra=%p, invoker=%d\n", ompt_get_thread_data()->value, encountering_task_data->value, encountering_task_frame->exit_frame, encountering_task_frame->enter_frame, parallel_data->value, requested_team_size, codeptr_ra, invoker);
}
static void
@@ -510,7 +510,7 @@ on_ompt_callback_task_create(
const void *codeptr_ra)
{
if(new_task_data->ptr)
- printf("%s\n", "0: new_task_data initially not null");
+ printf("0: new_task_data initially not null\n");
new_task_data->value = ompt_get_unique_id();
char buffer[2048];
@@ -527,7 +527,7 @@ on_ompt_callback_task_create(
parallel_data->value = ompt_get_unique_id();
}
- printf("%" PRIu64 ": ompt_event_task_create: parent_task_id=%" PRIu64 ", parent_task_frame.exit=%p, parent_task_frame.reenter=%p, new_task_id=%" PRIu64 ", codeptr_ra=%p, task_type=%s=%d, has_dependences=%s\n", ompt_get_thread_data()->value, parent_task_data ? parent_task_data->value : 0, parent_frame ? parent_frame->exit_frame : NULL, parent_frame ? parent_frame->enter_frame : NULL, new_task_data->value, codeptr_ra, buffer, type, has_dependences ? "yes" : "no");
+ printf("%" PRIu64 ": ompt_event_task_create: parent_task_id=%" PRIu64 ", parent_task_frame.exit=%p, parent_task_frame.reenter=%p, new_task_id=%" PRIu64 ", codeptr_ra=%p, task_type=%s=%d, has_dependences=%s\n", ompt_get_thread_data()->value, encountering_task_data ? encountering_task_data->value : 0, encountering_task_frame ? encountering_task_frame->exit_frame : NULL, encountering_task_frame ? encountering_task_frame->enter_frame : NULL, new_task_data->value, codeptr_ra, buffer, type, has_dependences ? "yes" : "no");
}
static void
OpenPOWER on IntegriCloud