summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface.cpp
diff options
context:
space:
mode:
authorRohan Yadav <rohany@alumni.cmu.edu>2023-10-20 10:35:10 -0700
committerGitHub <noreply@github.com>2023-10-20 23:05:10 +0530
commit71bdd2c2380d3e0cc96898bd7908ac8c99d10a8f (patch)
tree0375c94eeffd83f41366c7a2fec6f75c4edea76a /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface.cpp
parent6a2f68beb7c9cbe8ab1299c9feac32c42affdb03 (diff)
mlir/lib/Dialect/GPU/Transforms: improve context management in SerializeToCubin (#65779)
This commit adjusts the CUDA context management in the SerializeToCubin pass. In particular, it uses the device 0 primary context instead of creating a new CUDA context on each invocation of SerializeToCubin. This yields very large improvements in compile time, especially if an application (like a JIT compiler) is calling SerializeToCubin repeatedly. Differential Revision: https://reviews.llvm.org/D159487 Co-authored-by: Rohan Yadav <rohany@cs.stanford.edu>
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions