[Openmp-commits] [PATCH] D120089: [OpenMP] Explicitly deinitialize device resources
Shilei Tian via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Sat Mar 5 19:42:22 PST 2022
tianshilei1992 added inline comments.
================
Comment at: openmp/libomptarget/plugins/cuda/src/rtl.cpp:566
+ // TODO: Provide an option to do it lazily once we allow pause/restart.
+ InitializedFlags.assign(NumberOfDevices, true);
}
----------------
Why do we need it?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D120089/new/
https://reviews.llvm.org/D120089
More information about the Openmp-commits
mailing list