Skip to content

Commit 966a9b3

Browse files
authored
Merge branch 'develop' into upstream_merge_55
2 parents 4a8c3ab + ed00a0d commit 966a9b3

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

mlir/utils/jenkins/Jenkinsfile

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -414,9 +414,8 @@ boolean shouldRunFromCodepath(String codepath) {
414414
if (params.canXdlops && (params.disableNavi3x == false) && (codepath == "navi3x")) {
415415
return true
416416
}
417-
// Run navi4x on private nightly CI only
418-
if (params.canXdlops && (params.disableNavi4x == false) && (codepath == "navi4x") &&
419-
params.nightly) {
417+
// Run navi4x on private CI if it is not disabled
418+
if (params.canXdlops && (params.disableNavi4x == false) && (codepath == "navi4x")) {
420419
return true;
421420
}
422421
return false
@@ -450,7 +449,7 @@ boolean shouldRunFromChip(String chip) {
450449
void archivePerfDB() {
451450
// Note: add additional architectures here
452451
dir ('build/perfDB') {
453-
def architectures = params.canXdlops ? ['gfx908', 'gfx90a', 'gfx942'] : ['vanilla']
452+
def architectures = params.canXdlops ? ['gfx908', 'gfx90a', 'gfx942', 'gfx1100', 'gfx1201'] : ['vanilla']
454453
for (arch in architectures) {
455454
try {
456455
unstash name: "MLIR-PerfDB-${arch}"
@@ -896,7 +895,7 @@ pipeline {
896895
axes {
897896
axis {
898897
name 'CHIP'
899-
values 'gfx908', 'gfx90a', 'gfx942'
898+
values 'gfx908', 'gfx90a', 'gfx942', 'gfx1100', 'gfx1201'
900899
}
901900
}
902901
agent { label getLabelFromChip("${CHIP}") }
@@ -1080,13 +1079,12 @@ pipeline {
10801079
}
10811080
}
10821081
}
1083-
// FIXME: run perf tests on both gfx90a and gfx908
10841082
stage("Benchmark and Report Performance") {
10851083
matrix {
10861084
axes {
10871085
axis {
10881086
name 'CHIP'
1089-
values 'gfx908', 'gfx90a', 'gfx942', 'gfx1030', 'gfx1101'
1087+
values 'gfx908', 'gfx90a', 'gfx942', 'gfx1030', 'gfx1100', 'gfx1201'
10901088
}
10911089
}
10921090
when {

mlir/utils/performance/parameterSweeps.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@
2121
from typing import Callable, Iterable, List, Sequence, Optional, Tuple, TypeVar, Union
2222

2323
import perfRunner
24-
from perfRunner import Paths, ConvConfiguration, getArch, getNumCU, getChip
24+
from perfRunner import ConvConfiguration
25+
from perfRunner import Paths
26+
from perfRunner import getArch
27+
from perfRunner import getNumCU
2528
from perfCommonUtils import CORRECT_RESULT_RE
2629

2730
@dataclass(frozen=True)
@@ -525,7 +528,8 @@ def main() -> bool:
525528
print(f"""Unknown arch {arch}""", file=sys.stderr)
526529

527530
options = Options(debug=args.debug, quiet=args.quiet,
528-
arch=arch, flags=rocmlir_gen_flags, concurrent_tests=args.jobs, numCu=getNumCU(getChip()))
531+
arch=arch, flags=rocmlir_gen_flags, concurrent_tests=args.jobs, numCu=getNumCU(perfRunner.getChip()))
532+
529533
paths = perfRunner.create_paths(None, args.mlir_build_dir)
530534

531535
config = args.config

0 commit comments

Comments
 (0)