Skip to content

Commit e1b3a47

Browse files
committed
Address review comments, Revert changes for Navi4x in Jenkinsfile and fix parameterSweeps
1 parent d7f9b54 commit e1b3a47

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

mlir/lib/Conversion/EmulateFp8ExtTrunc/EmulateFp8ExtTrunc.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ static FlatSymbolRefAttr makeFp8TruncFunction(Location loc, FloatType outType,
366366
Value cmp57 = b.create<CmpIOp>(CmpIPredicate::ne, sub43, i32Const(0));
367367
Value and58 = b.create<AndIOp>(add56, i32Const(1 << 23));
368368
Value tobool59Not = b.create<CmpIOp>(CmpIPredicate::eq, and58, i32Const(0));
369-
Value trueConst = b.create<ConstantIntOp>(true, /*width=*/1);
369+
Value trueConst = b.create<ConstantIntOp>(b.getI1Type(), true);
370370
Value brCond133 = b.create<SelectOp>(cmp57, trueConst, tobool59Not);
371371

372372
Block *ifElse61 = func.addBlock();
@@ -402,7 +402,7 @@ static FlatSymbolRefAttr makeFp8TruncFunction(Location loc, FloatType outType,
402402
Value cmp72 = b.create<CmpIOp>(CmpIPredicate::eq, f8Exponent0, i32Const(0));
403403
Value cmp74 = b.create<CmpIOp>(CmpIPredicate::ult, mantissa1,
404404
i32Const(1 << (16 + eBits)));
405-
Value falseConst = b.create<ConstantIntOp>(false, /*width=*/1);
405+
Value falseConst = b.create<ConstantIntOp>(b.getI1Type(), false);
406406
Value brCond = b.create<SelectOp>(cmp72, cmp74, falseConst);
407407
b.create<cf::CondBranchOp>(brCond, ret, ValueRange{outZero}, ifEnd76,
408408
ValueRange{f8Exponent0, mantissa1});

mlir/utils/jenkins/Jenkinsfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -414,8 +414,9 @@ boolean shouldRunFromCodepath(String codepath) {
414414
if (params.canXdlops && (params.disableNavi3x == false) && (codepath == "navi3x")) {
415415
return true
416416
}
417-
// Run navi4x on private CI if it is not disabled
418-
if (params.canXdlops && (params.disableNavi4x == false) && (codepath == "navi4x")) {
417+
// Run navi4x on private nightly CI only
418+
if (params.canXdlops && (params.disableNavi4x == false) && (codepath == "navi4x") &&
419+
params.nightly) {
419420
return true;
420421
}
421422
return false

mlir/utils/performance/parameterSweeps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ def main() -> bool:
525525
print(f"""Unknown arch {arch}""", file=sys.stderr)
526526

527527
options = Options(debug=args.debug, quiet=args.quiet,
528-
arch=arch, flags=rocmlir_gen_flags, concurrent_tests=args.jobs, numCU=getNumCU(getChip()))
528+
arch=arch, flags=rocmlir_gen_flags, concurrent_tests=args.jobs, numCu=getNumCU(getChip()))
529529
paths = perfRunner.create_paths(None, args.mlir_build_dir)
530530

531531
config = args.config

0 commit comments

Comments
 (0)