[Mlir-commits] [mlir] [mlir][Target] Support Fatbin target for static nvptxcompiler (PR #118044)
Mehdi Amini
llvmlistbot at llvm.org
Thu Dec 5 13:22:56 PST 2024
joker-eph wrote:
> Hi, I I added MLIR_ENABLE_NVPTXCOMPILER_NVFATBIN to prevent users who are using NVPTXCompiler from getting errors about not finding libnvfatbin_static.a.
What happens in this case:
> If building mlir with -DMLIR_ENABLE_NVPTXCOMPILER=ON, the flow does not check if the target is gpu::CompilationTarget::Fatbin, and compile PTX to cubin directly, which is not consistent with another flow.
How do you preserve consistency when `MLIR_ENABLE_NVPTXCOMPILER_NVFATBIN=OFF`?
https://github.com/llvm/llvm-project/pull/118044
More information about the Mlir-commits
mailing list