[Openmp-commits] [PATCH] D130714: [openmp][amdgpu] Tear down amdgpu plugin accurately

Johannes Doerfert via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Jul 28 09:39:18 PDT 2022


jdoerfert added a comment.

I don't remember if there is a "hard requirement" wrt the order but given the current code the plugin needs to outlive libomptarget (IIRC). We tried multiple times to tear down things, and I think we need the user code tear down hook to find a stable order, everything else might not be. Though even the user code destructor might be called after we unload the librarie(s), which would be bad.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130714



More information about the Openmp-commits mailing list