[Openmp-commits] [PATCH] D130113: [OpenMP] Introduce more fine-grained control over the thread state use
Johannes Doerfert via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Tue Jul 19 12:36:51 PDT 2022
jdoerfert created this revision.
jdoerfert added reviewers: jhuber6, tianshilei1992.
Herald added subscribers: guansong, bollu, yaxunl.
Herald added a project: All.
jdoerfert requested review of this revision.
Herald added a subscriber: sstefan1.
Herald added a project: OpenMP.
We can help optimizations by making sure we use the team state whenever
it is clear there is no thread state. To this end we introduce a new
state flag (`state::HasThreadState`) and explicit control for the
`state::ValueRAII` helpers, including a dedicated "assert equal".
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D130113
Files:
openmp/libomptarget/DeviceRTL/include/State.h
openmp/libomptarget/DeviceRTL/src/Parallelism.cpp
openmp/libomptarget/DeviceRTL/src/State.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130113.445909.patch
Type: text/x-patch
Size: 14046 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20220719/586be144/attachment-0001.bin>
More information about the Openmp-commits
mailing list