aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorChristian Sigg <csigg@google.com>2021-01-26 14:24:43 +0100
committerChristian Sigg <csigg@google.com>2021-01-26 19:07:06 +0100
commit8262cd8a0e24fd5d3d528d675e106031d4232d8d (patch)
tree876a3814d7587368a812c302c1c18fe612509248 /clang/lib/Frontend/CompilerInvocation.cpp
parent5f9707b7960e9a86330dacb814b2ec55207e6f87 (diff)
downloadllvm-8262cd8a0e24fd5d3d528d675e106031d4232d8d.zip
llvm-8262cd8a0e24fd5d3d528d675e106031d4232d8d.tar.gz
llvm-8262cd8a0e24fd5d3d528d675e106031d4232d8d.tar.bz2
[mlir] Set CUDA/ROCm context before creating resources.
The current context is thread-local state, and in preparation of GPU async execution (on multiple threads) we need to set the context before calling API that create resources. Reviewed By: herhut Differential Revision: https://reviews.llvm.org/D94495
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions