[Openmp-commits] [PATCH] D131089: [Libomptarget] Explicitly init / deinit libomptarget from the user

Joseph Huber via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Jan 20 08:12:40 PST 2023


jhuber6 updated this revision to Diff 490863.
jhuber6 added a comment.

Take two. I'm hoping that this is a reasonable solution to the problems in D142008 <https://reviews.llvm.org/D142008> as well.

The current issue is that for this to work we need to be rid of the `__tgt_register_requires` global constructor. So this currently breaks the USM tests. I will revive D133539 <https://reviews.llvm.org/D133539> to address that.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131089/new/

https://reviews.llvm.org/D131089

Files:
  openmp/libomptarget/include/device.h
  openmp/libomptarget/include/rtl.h
  openmp/libomptarget/src/interface.cpp
  openmp/libomptarget/src/rtl.cpp
  openmp/libomptarget/test/api/omp_parallel_initialization.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131089.490863.patch
Type: text/x-patch
Size: 7008 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20230120/560be218/attachment-0001.bin>


More information about the Openmp-commits mailing list