diff options
author | Krzysztof Drewniak <Krzysztof.Drewniak@amd.com> | 2022-01-10 23:53:58 +0000 |
---|---|---|
committer | Krzysztof Drewniak <Krzysztof.Drewniak@amd.com> | 2022-01-20 20:52:12 +0000 |
commit | 40aef79db0b02b171a65b3a13053ae963a3e8753 (patch) | |
tree | be83c75eb1477f6d8a3221635a213da1f80dc982 /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h | |
parent | 118babe67adfe3eed1a6d89e3c2d5a70ba8322a4 (diff) | |
download | llvm-40aef79db0b02b171a65b3a13053ae963a3e8753.zip llvm-40aef79db0b02b171a65b3a13053ae963a3e8753.tar.gz llvm-40aef79db0b02b171a65b3a13053ae963a3e8753.tar.bz2 |
[MLIR][GPU] Add debug output to enable dumping GPU assembly
- Set the DEBUG_TYPE of SerializeToBlob to serialize-to-blob
- Add debug output to print the assembly or PTX for GPU modules before
they are assembled and linked
Note that, as SerializeToBlob is a superclass of SerializeToCubin and
SerializeToHsaco, --debug-only=serialize-to-blom will dump the
intermediate compiler result for both of these passes.
In addition, if LLVM options such as --stop-after are used to control
the GPU kernel compilation process, the debug output will contain the
appropriate intermediate IR.
Reviewed By: herhut
Differential Revision: https://reviews.llvm.org/D117519
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h')
0 files changed, 0 insertions, 0 deletions