[Mlir-commits] [mlir] [mlir][gpu][nvptx] Remove null terminator when outputting PTX (PR #133019)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Tue Mar 25 16:47:56 PDT 2025
modiking wrote:
Looking around I couldn't find if there was a convention to what should be outputted by `moduleToObject`. I did see that the ROCDL target omits the null terminator (https://github.com/llvm/llvm-project/blob/main/mlir/lib/Target/LLVM/ROCDL/Target.cpp#L440). @fabianmcg was there a specific reason the null terminator got added in https://github.com/llvm/llvm-project/commit/5093413a5007b017a530edbeed42d32bfd18b126?
https://github.com/llvm/llvm-project/pull/133019
More information about the Mlir-commits
mailing list