[MLIR][NVVM] Print ptxas path in debug output for "serialize-to-binary" (#132373)

This commit is contained in:
Guray Ozen 2025-03-25 12:21:06 +01:00 committed by GitHub
parent 9b022220b7
commit 9910d34d6c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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) {