[Openmp-commits] [PATCH] D96431: [OpenMP] Make `__tgt_async_info` a RAII object

Johannes Doerfert via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Feb 10 09:53:10 PST 2021


jdoerfert created this revision.
jdoerfert added reviewers: tianshilei1992, JonChesterfield, grokos.
Herald added subscribers: guansong, yaxunl.
Herald added a reviewer: bollu.
jdoerfert requested review of this revision.
Herald added a subscriber: sstefan1.
Herald added a project: OpenMP.

The AsyncInfo should be passed everywhere and it should automatically
ensure synchronization. To this end we make it a RAII object that will
synchronize at the end of its lifetime as necessary.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D96431

Files:
  openmp/libomptarget/include/omptarget.h
  openmp/libomptarget/src/omptarget.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96431.322719.patch
Type: text/x-patch
Size: 3799 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210210/7af62474/attachment.bin>


More information about the Openmp-commits mailing list