[Mlir-commits] [mlir] 9910d34 - [MLIR][NVVM] Print ptxas path in debug output for "serialize-to-binary" (#132373)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Tue Mar 25 04:21:11 PDT 2025
Author: Guray Ozen
Date: 2025-03-25T12:21:06+01:00
New Revision: 9910d34d6ca6d61a9933ed4fc870e4324b6260af
URL: https://github.com/llvm/llvm-project/commit/9910d34d6ca6d61a9933ed4fc870e4324b6260af
DIFF: https://github.com/llvm/llvm-project/commit/9910d34d6ca6d61a9933ed4fc870e4324b6260af.diff
LOG: [MLIR][NVVM] Print ptxas path in debug output for "serialize-to-binary" (#132373)
Added:
Modified:
mlir/lib/Target/LLVM/NVVM/Target.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Target/LLVM/NVVM/Target.cpp b/mlir/lib/Target/LLVM/NVVM/Target.cpp
index cccb2c276ae37..023c65b3dd9df 100644
--- a/mlir/lib/Target/LLVM/NVVM/Target.cpp
+++ b/mlir/lib/Target/LLVM/NVVM/Target.cpp
@@ -455,6 +455,7 @@ NVPTXSerializer::compileToBinary(const std::string &ptxCode) {
LLVM_DEBUG({
llvm::dbgs() << "Tool invocation for module: "
<< getOperation().getNameAttr() << "\n";
+ llvm::dbgs() << "ptxas executable:" << ptxasCompiler.value() << "\n";
llvm::interleave(ptxasArgs, llvm::dbgs(), " ");
llvm::dbgs() << "\n";
if (createFatbin) {
More information about the Mlir-commits
mailing list