[PATCH] D12999: Simplify control variable logic for OMPT
John Mellor-Crummey via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 19 20:42:03 PDT 2015
jmellorcrummey created this revision.
jmellorcrummey added subscribers: openmp-commits, llvm-commits.
jmellorcrummey set the repository for this revision to rL LLVM.
Prior to this change, OMPT had a status flag ompt_status, which could take several values. This was due to an earlier OMPT design that had several levels of enablement (ready, disabled, tracking state, tracking callbacks). The current OMPT design has OMPT support either on or off.
This revision replaces ompt_status with a boolean flag ompt_enabled, which simplifies the runtime logic for OMPT.
Repository:
rL LLVM
http://reviews.llvm.org/D12999
Files:
runtime/src/kmp_atomic.h
runtime/src/kmp_barrier.cpp
runtime/src/kmp_csupport.c
runtime/src/kmp_dispatch.cpp
runtime/src/kmp_gsupport.c
runtime/src/kmp_lock.cpp
runtime/src/kmp_runtime.c
runtime/src/kmp_sched.cpp
runtime/src/kmp_tasking.c
runtime/src/kmp_wait_release.h
runtime/src/ompt-general.c
runtime/src/ompt-internal.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12999.35189.patch
Type: text/x-patch
Size: 41393 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150920/264da3bf/attachment.bin>
More information about the llvm-commits
mailing list