[Mlir-commits] [mlir] [mlir][gpu][nvptx] Remove null terminator when outputting PTX (PR #133019)

Mehdi Amini llvmlistbot at llvm.org
Sun Mar 30 06:01:02 PDT 2025


joker-eph wrote:

> On that path we're in gpu::CompilationTarget::Binary or gpu::CompilationTarget::Fatbin and there's no extra null character written in the file. serializedISA has no null character at the end but one gets added under the gpu::CompilationTarget::Assembly path:

I don't follow what you're describing. 
Can you provide a reproducer for the bug and a backtrace of the point where the error occurs?

https://github.com/llvm/llvm-project/pull/133019


More information about the Mlir-commits mailing list