diff options
author | Stephan Herhut <herhut@google.com> | 2020-04-16 13:14:43 +0200 |
---|---|---|
committer | Stephan Herhut <herhut@google.com> | 2020-04-16 14:18:31 +0200 |
commit | 69040d5b0bfa59edacc2ad10d517b4270bf76845 (patch) | |
tree | 81de46ba098c5cefa1727f436c59d414f3ebc60b /clang/unittests/Format/FormatTestCSharp.cpp | |
parent | da207407866a683563f6243e2b5f7502783b9842 (diff) | |
download | llvm-69040d5b0bfa59edacc2ad10d517b4270bf76845.zip llvm-69040d5b0bfa59edacc2ad10d517b4270bf76845.tar.gz llvm-69040d5b0bfa59edacc2ad10d517b4270bf76845.tar.bz2 |
[MLIR] Allow for multiple gpu modules during translation.
This change makes the ModuleTranslation threadsafe by locking on the
LLVMContext. Furthermore, we now clone the llvm module into a new
context when compiling to PTX similar to what the OrcJit does.
Differential Revision: https://reviews.llvm.org/D78207
Diffstat (limited to 'clang/unittests/Format/FormatTestCSharp.cpp')
0 files changed, 0 insertions, 0 deletions