[llvm] [Offload] Implement `olShutDown` (PR #144055)
Ross Brunton via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 30 02:14:59 PDT 2025
================
@@ -197,8 +195,10 @@ Error olInit_impl() {
std::lock_guard<std::mutex> Lock{OffloadContextValMutex};
std::optional<Error> InitResult;
----------------
RossBrunton wrote:
I was trying to work around the fact that all errors must be checked. But it turns out it's simple enough to just shift the order logic around to avoid it.
https://github.com/llvm/llvm-project/pull/144055
More information about the llvm-commits
mailing list