summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/src/kmp_cancel.cpp
diff options
context:
space:
mode:
authorJoachim Protze <protze@itc.rwth-aachen.de>2018-09-10 14:34:54 +0000
committerJoachim Protze <protze@itc.rwth-aachen.de>2018-09-10 14:34:54 +0000
commit489cdb783a0655ed2d2812a62fda220eb17574dd (patch)
treec0ef9c60f5df7b12e88e22ffecd12fb3c47309bb /openmp/runtime/src/kmp_cancel.cpp
parent659c871a1b47836bb0b02f63124bc35e00990f1c (diff)
downloadbcm5719-llvm-489cdb783a0655ed2d2812a62fda220eb17574dd.tar.gz
bcm5719-llvm-489cdb783a0655ed2d2812a62fda220eb17574dd.zip
[OMPT] Update types according to TR7
Some types and callback signatures have changed from TR6 to TR7. Major changes (only adding signatures and stubs): (-remove idle callback) done by D48362 -add reduction and dispatch callback -add get_task_memory and finalize_tool runtime entry points -ompt_invoker_t becomes ompt_parallel_flag_t -more types of sync_regions Patch provided by Simon Convent Reviewers: hbae, protze.joachim Differential Revision: https://reviews.llvm.org/D50774 llvm-svn: 341834
Diffstat (limited to 'openmp/runtime/src/kmp_cancel.cpp')
-rw-r--r--openmp/runtime/src/kmp_cancel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/openmp/runtime/src/kmp_cancel.cpp b/openmp/runtime/src/kmp_cancel.cpp
index 3895f97833e..5ed91673b77 100644
--- a/openmp/runtime/src/kmp_cancel.cpp
+++ b/openmp/runtime/src/kmp_cancel.cpp
@@ -65,7 +65,7 @@ kmp_int32 __kmpc_cancel(ident_t *loc_ref, kmp_int32 gtid, kmp_int32 cncl_kind) {
if (cncl_kind == cancel_parallel)
type = ompt_cancel_parallel;
else if (cncl_kind == cancel_loop)
- type = ompt_cancel_do;
+ type = ompt_cancel_loop;
else if (cncl_kind == cancel_sections)
type = ompt_cancel_sections;
ompt_callbacks.ompt_callback(ompt_callback_cancel)(
@@ -172,7 +172,7 @@ kmp_int32 __kmpc_cancellationpoint(ident_t *loc_ref, kmp_int32 gtid,
if (cncl_kind == cancel_parallel)
type = ompt_cancel_parallel;
else if (cncl_kind == cancel_loop)
- type = ompt_cancel_do;
+ type = ompt_cancel_loop;
else if (cncl_kind == cancel_sections)
type = ompt_cancel_sections;
ompt_callbacks.ompt_callback(ompt_callback_cancel)(
OpenPOWER on IntegriCloud