Skip to content

Commit 9910d34

Browse files
authored
[MLIR][NVVM] Print ptxas path in debug output for "serialize-to-binary" (#132373)
1 parent 9b02222 commit 9910d34

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mlir/lib/Target/LLVM/NVVM/Target.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,7 @@ NVPTXSerializer::compileToBinary(const std::string &ptxCode) {
455455
LLVM_DEBUG({
456456
llvm::dbgs() << "Tool invocation for module: "
457457
<< getOperation().getNameAttr() << "\n";
458+
llvm::dbgs() << "ptxas executable:" << ptxasCompiler.value() << "\n";
458459
llvm::interleave(ptxasArgs, llvm::dbgs(), " ");
459460
llvm::dbgs() << "\n";
460461
if (createFatbin) {

0 commit comments

Comments
 (0)