[Openmp-commits] [openmp] r351315 - Fix compiler error in r351311
Joachim Protze via Openmp-commits
openmp-commits at lists.llvm.org
Wed Jan 16 01:39:43 PST 2019
Author: jprotze
Date: Wed Jan 16 01:39:42 2019
New Revision: 351315
URL: http://llvm.org/viewvc/llvm-project?rev=351315&view=rev
Log:
Fix compiler error in r351311
Modified:
openmp/trunk/runtime/src/ompt-general.cpp
Modified: openmp/trunk/runtime/src/ompt-general.cpp
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/ompt-general.cpp?rev=351315&r1=351314&r2=351315&view=diff
==============================================================================
--- openmp/trunk/runtime/src/ompt-general.cpp (original)
+++ openmp/trunk/runtime/src/ompt-general.cpp Wed Jan 16 01:39:42 2019
@@ -491,7 +491,7 @@ OMPT_API_ROUTINE int ompt_get_parallel_i
OMPT_API_ROUTINE int ompt_get_state(ompt_wait_id_t *wait_id) {
if (!ompt_enabled.enabled)
- return omp_state_work_serial;
+ return ompt_state_work_serial;
int thread_state = __ompt_get_state_internal(wait_id);
if (thread_state == ompt_state_undefined) {
More information about the Openmp-commits
mailing list