@@ -52,14 +52,14 @@ local repo_config = import '../../../ci/repo-configuration.libsonnet';
52
52
ENABLE_POLYBENCH_HPC: 'yes' ,
53
53
POLYBENCH_HPC_EXTRA_HEADERS: '/cm/shared/apps/papi/papi-5.5.1/include' ,
54
54
POLYBENCH_HPC_PAPI_LIB_DIR: '/cm/shared/apps/papi/papi-5.5.1/lib' ,
55
- } + if !std.objectHasAll (self , 'machine_name' ) then {} else if self .machine_name == 'e3' || self .machine_name == 'e4_36_256' then {LIBPFM_FORCE_PMU: 'amd64' } else if self .machine_name == 'x52' then {} else {},
55
+ } + if !std.objectHasAll (self , 'machine_name' ) then {} else if std.count ([ 'e3' , 'e4_36_256' , 'e4_8_64' ], self .machine_name) > 0 then {LIBPFM_FORCE_PMU: 'amd64' } else if self .machine_name == 'x52' then {} else {},
56
56
},
57
57
58
58
vm_bench_polybenchmarks_base(env): {
59
59
base_cmd:: ['mx' , '--env' , env, '--dy' , 'polybenchmarks' ],
60
60
},
61
61
62
- vm_bench_polybenchmarks_linux_build: common.deps.svm + common.deps.truffleruby + common.deps.graalpy + vm.custom_vm + vm.vm_java_Latest + self .polybench_hpc_linux_common(shape='e4_36_256 ' ) + self .vm_bench_polybenchmarks_base(env='polybench-${VM_ENV}' ) + {
62
+ vm_bench_polybenchmarks_linux_build: common.deps.svm + common.deps.truffleruby + common.deps.graalpy + vm.custom_vm + vm.vm_java_Latest + self .polybench_hpc_linux_common(shape='e4_8_64 ' ) + self .vm_bench_polybenchmarks_base(env='polybench-${VM_ENV}' ) + {
63
63
setup+: [
64
64
self .base_cmd + ['sforceimports' ],
65
65
],
@@ -80,7 +80,7 @@ local repo_config = import '../../../ci/repo-configuration.libsonnet';
80
80
},
81
81
82
82
# TODO (GR-60584): re-enable espresso polybench jobs once polybench is unchained
83
- vm_bench_polybenchmarks_linux_common(vm_config='jvm', is_gate=false, suite='default:~r[.*jar]', shape=null): common.deps.svm + common.deps.truffleruby + vm.custom_vm + vm.vm_java_Latest + self .polybench_hpc_linux_common(shape=shape) + self .vm_bench_polybenchmarks_base(env='polybench-${VM_ENV}' ) {
83
+ vm_bench_polybenchmarks_linux_common(vm_config='jvm', is_gate=false, suite='default:~r[.*jar]', shape=null): common.deps.svm + common.deps.truffleruby + vm.custom_vm + vm.vm_java_Latest + self .polybench_hpc_linux_common(shape=shape) + self .vm_bench_polybenchmarks_base(env='polybench-${VM_ENV}' ) + ( if is_gate then self .vm_bench_base(machine_name= null ) else self .vm_bench_common) + {
84
84
bench_cmd:: self .base_cmd + ['benchmark' , '--results-file' , self .result_file],
85
85
setup+: [
86
86
self .base_cmd + ['sforceimports' ],
@@ -104,7 +104,7 @@ local repo_config = import '../../../ci/repo-configuration.libsonnet';
104
104
notify_emails+: if (is_gate)
then []
else [
'[email protected] ' ],
105
105
teardown+: if (is_gate) then [] else [ $.vm_bench_common.upload ],
106
106
timelimit: if (is_gate) then '1:00:00' else '1:30:00' ,
107
- } + ( if is_gate then self .vm_bench_base(machine_name= null ) else self .vm_bench_common) ,
107
+ },
108
108
109
109
vm_bench_polybench_linux_common(env='polybench-${VM_ENV}', fail_fast=false, skip_machine=false): (if skip_machine then self .vm_bench_base(machine_name=null ) else self .vm_bench_common) + common.deps.svm + common.deps.truffleruby + common.deps.graalpy + common.deps.wasm + vm.custom_vm {
110
110
base_cmd:: ['mx' , '--env' , env],
@@ -125,7 +125,7 @@ local repo_config = import '../../../ci/repo-configuration.libsonnet';
125
125
notify_groups:: ['polybench' ],
126
126
},
127
127
128
- vm_bench_polybench_hpc_linux_common(env, metric, benchmarks='*', polybench_vm_config='native-interpreter'): self .polybench_hpc_linux_common(shape='e4_36_256 ' ) + self .vm_bench_polybench_linux_common(env=env, fail_fast=false , skip_machine=true ) + {
128
+ vm_bench_polybench_hpc_linux_common(env, metric, benchmarks='*', polybench_vm_config='native-interpreter'): self .polybench_hpc_linux_common(shape='e4_8_64 ' ) + self .vm_bench_polybench_linux_common(env=env, fail_fast=false , skip_machine=true ) + {
129
129
machine_name_prefix:: "gate-" ,
130
130
run+: [
131
131
self .base_cmd + ['benchmark' , 'polybench:' +benchmarks,
@@ -211,7 +211,7 @@ local repo_config = import '../../../ci/repo-configuration.libsonnet';
211
211
self .compiler_bench_cmd(vmConfig='native-standard' ) + ['--metric=partial-evaluation-time' ],
212
212
self .warmup_bench_cmd(vmConfig='native-standard' ) + ['--metric=one-shot' ],
213
213
],
214
- timelimit: '1:30 :00' ,
214
+ timelimit: '1:00 :00' ,
215
215
notify_groups: ['polybench' ],
216
216
},
217
217
@@ -325,8 +325,8 @@ local repo_config = import '../../../ci/repo-configuration.libsonnet';
325
325
notify_groups:: ['javascript' ],
326
326
},
327
327
328
- vm_common.vm_base('linux' , 'amd64' , 'gate ' ) + self .vm_bench_polybenchmarks_linux_common(is_gate=true , shape='e4_36_256 ' ) + {name: 'gate-vm-' + vm.vm_setup.short_name + '-polybenchmarks-' + utils.jdk_and_hardware(self )},
329
- vm_common.vm_base('linux' , 'amd64' , 'gate ' ) + self .vm_gate_polybench_linux + {name: 'gate-vm-' + vm.vm_setup.short_name + '-polybench-' + utils.jdk_and_hardware(self )},
328
+ vm_common.vm_base('linux' , 'amd64' , 'tier3 ' ) + self .vm_bench_polybenchmarks_linux_common(is_gate=true , shape='e4_8_64 ' ) + {name: 'gate-vm-' + vm.vm_setup.short_name + '-polybenchmarks-' + utils.jdk_and_hardware(self )},
329
+ vm_common.vm_base('linux' , 'amd64' , 'tier3 ' ) + self .vm_gate_polybench_linux + {name: 'gate-vm-' + vm.vm_setup.short_name + '-polybench-' + utils.jdk_and_hardware(self )},
330
330
],
331
331
332
332
builds: utils.add_defined_in(builds, std.thisFile ),
0 commit comments