Skip to content

Commit 8875f78

Browse files
authored
[mlir] Change default NVVM compilation to fatbin from bin (#70052)
Change the NVVM assembly to `fatbin` as it is executable for multiple architectures. Using `bin` caused test errors at runtime in the test systems.
1 parent 8edcfa0 commit 8875f78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/test/lib/Dialect/GPU/TestLowerToNVVM.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ struct TestLowerToNVVMOptions
6060
PassOptions::Option<std::string> cubinFormat{
6161
*this, "cubin-format",
6262
llvm::cl::desc("Compilation format to use to serialize to cubin."),
63-
llvm::cl::init("bin")};
63+
llvm::cl::init("fatbin")};
6464
PassOptions::Option<int> optLevel{
6565
*this, "opt-level",
6666
llvm::cl::desc("Optimization level for NVVM compilation"),
@@ -156,4 +156,4 @@ void registerTestLowerToNVVM() {
156156
}
157157
} // namespace test
158158
} // namespace mlir
159-
#endif // MLIR_CUDA_CONVERSIONS_ENABLED
159+
#endif // MLIR_CUDA_CONVERSIONS_ENABLED

0 commit comments

Comments
 (0)