This is an archive of the discontinued LLVM Phabricator instance.

[MLIR] Add extra locking during cubin generation.
ClosedPublic

Authored by herhut on Apr 21 2020, 12:31 PM.

Details

Summary

We also need to lock the LLVMDialect mutex when initializing
LLVM targets or destroying llvm modules concurrently. Added another
scoped lock to that effect.

Diff Detail

Event Timeline

herhut created this revision.Apr 21 2020, 12:31 PM
rriddle accepted this revision.Apr 21 2020, 12:36 PM
This revision is now accepted and ready to land.Apr 21 2020, 12:36 PM
This revision was automatically updated to reflect the committed changes.