llvm
abf07483 - Fix ScopedContext to not restore nullptr context

Commit
48 days ago
Fix ScopedContext to not restore nullptr context When Original context was nullptr, restoring it would clear the active context, breaking tests that expect context to remain active after UR API calls. Now only restore if Original was a valid context.
Author
Parents
Loading