Skip to content

Commit 72611a6

Browse files
committed
[Benchmarks] Dry run without phony sycl or ur args
Create metadata during dry runs for all benchmarks even when --sycl and --ur options are not set
1 parent 4d4fde2 commit 72611a6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

devops/scripts/benchmarks/benches/compute.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def enabled_runtimes(self, supported_runtimes=None, extra_runtimes=None):
136136
return runtimes
137137

138138
def benchmarks(self) -> list[Benchmark]:
139-
if options.sycl is None:
139+
if options.sycl is None and options.dry_run is None:
140140
return []
141141

142142
if options.ur_adapter == "hip":

devops/scripts/benchmarks/benches/syclbench.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def setup(self):
6767
self.built = True
6868

6969
def benchmarks(self) -> list[Benchmark]:
70-
if options.sycl is None:
70+
if options.sycl is None and options.dry_run is None:
7171
return []
7272

7373
return [

devops/scripts/benchmarks/benches/velocity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def setup(self):
4444
)
4545

4646
def benchmarks(self) -> list[Benchmark]:
47-
if options.sycl is None:
47+
if options.sycl is None and options.dry_run is None:
4848
return []
4949

5050
if options.ur_adapter == "cuda" or options.ur_adapter == "hip":

0 commit comments

Comments
 (0)