summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/src/ompt-specific.cpp
diff options
context:
space:
mode:
authorJoachim Protze <protze@itc.rwth-aachen.de>2018-05-28 08:16:08 +0000
committerJoachim Protze <protze@itc.rwth-aachen.de>2018-05-28 08:16:08 +0000
commit406361330b4f5a070c7f5be97054cd72d935962c (patch)
tree557ebb59bfeba5363d9e6ea9947281076cae0b11 /openmp/runtime/src/ompt-specific.cpp
parentc5836064bba929ebff211b76c3f377f2a5e5f78a (diff)
downloadbcm5719-llvm-406361330b4f5a070c7f5be97054cd72d935962c.tar.gz
bcm5719-llvm-406361330b4f5a070c7f5be97054cd72d935962c.zip
[OMPT] Rename ompt_wait_id to omp_wait_id
Rename ompt_wait_id to omp_wait_id, as defined in the spec. Differential Revision: https://reviews.llvm.org/D46530 llvm-svn: 333368
Diffstat (limited to 'openmp/runtime/src/ompt-specific.cpp')
-rw-r--r--openmp/runtime/src/ompt-specific.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/openmp/runtime/src/ompt-specific.cpp b/openmp/runtime/src/ompt-specific.cpp
index 84dace84d47..ad6580805f4 100644
--- a/openmp/runtime/src/ompt-specific.cpp
+++ b/openmp/runtime/src/ompt-specific.cpp
@@ -211,15 +211,15 @@ ompt_data_t *__ompt_get_thread_data_internal() {
void __ompt_thread_assign_wait_id(void *variable) {
kmp_info_t *ti = ompt_get_thread();
- ti->th.ompt_thread_info.wait_id = (ompt_wait_id_t)variable;
+ ti->th.ompt_thread_info.wait_id = (omp_wait_id_t)variable;
}
-omp_state_t __ompt_get_state_internal(ompt_wait_id_t *ompt_wait_id) {
+omp_state_t __ompt_get_state_internal(omp_wait_id_t *omp_wait_id) {
kmp_info_t *ti = ompt_get_thread();
if (ti) {
- if (ompt_wait_id)
- *ompt_wait_id = ti->th.ompt_thread_info.wait_id;
+ if (omp_wait_id)
+ *omp_wait_id = ti->th.ompt_thread_info.wait_id;
return ti->th.ompt_thread_info.state;
}
return omp_state_undefined;
OpenPOWER on IntegriCloud