[Mlir-commits] [mlir] [MLIR][NVVM] Return ISA compiler log via ObjectAttr properties (PR #176697)
Zichen Lu
llvmlistbot at llvm.org
Tue Jan 20 01:20:42 PST 2026
================
@@ -610,21 +621,26 @@ NVPTXSerializer::compileToBinaryNVPTX(StringRef ptxCode) {
SmallVector<char, 0> binary(elfSize, 0);
RETURN_ON_NVPTXCOMPILER_ERROR(
nvPTXCompilerGetCompiledProgram(compiler, (void *)binary.data()));
+
+ RETURN_ON_NVPTXCOMPILER_ERROR(
+ nvPTXCompilerGetInfoLogSize(compiler, &logSize));
----------------
MikaOvO wrote:
Updated. Thanks!
https://github.com/llvm/llvm-project/pull/176697
More information about the Mlir-commits
mailing list