[MLIR] Add extra locking during cubin generation.
We also need to lock the LLVMDialect mutex when initializing LLVM targets or destroying llvm modules concurrently. Added another scoped lock to that effect. Differential Revision: https://reviews.llvm.org/D78580
Loading
Please sign in to comment