[Mlir-commits] [mlir] [MLIR][ExecutionEngine] Tolerate CUDA_ERROR_DEINITIALIZED in mgpuModuleUnload (PR #190563)

Jared Hoberock llvmlistbot at llvm.org
Mon Apr 6 10:56:48 PDT 2026


jaredhoberock wrote:

I believe this is the same class of issue. The async.mlir test hits CUDA_ERROR_CONTEXT_IS_DESTROYED on stream/event dtors during shutdown, while the original report hits CUDA_ERROR_DEINITIALIZED on module unload. 
                                                                                                                                                                                                                                                                                        
The PR is updated to handle both error codes across all five affected dtors, and re-enabled the FileCheck in async.mlir. async.mlir passes cleanly with the fix on my system.

https://github.com/llvm/llvm-project/pull/190563


More information about the Mlir-commits mailing list