Skip to content

Commit 9edd1c4

Browse files
authored
[MLIR][AMDGPU] Switch to code object version 5 (#79144)
As AMDGPU backend has moved to cov5 as default, mlir should also switch to it.
1 parent c173a5b commit 9edd1c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Target/LLVM/ROCDL/Target.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ void SerializeGPUModuleBase::addControlVariables(
238238
addControlVariable("__oclc_wavefrontsize64", wave64);
239239

240240
llvm::Type *i32Ty = llvm::Type::getInt32Ty(module.getContext());
241-
int abi = 400;
241+
int abi = 500;
242242
abiVer.getAsInteger(0, abi);
243243
llvm::GlobalVariable *abiVersion = new llvm::GlobalVariable(
244244
module, i32Ty, true, llvm::GlobalValue::LinkageTypes::LinkOnceODRLinkage,

0 commit comments

Comments
 (0)