Skip to content

Commit a94c5af

Browse files
committed
[Benchmarks] Disable longer KernelExecTime PVC scenarios
These scenarios where meant to be ran on BMG systems, not on PVC.
1 parent 8ec0f3d commit a94c5af

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

devops/scripts/benchmarks/benches/compute.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,9 +477,14 @@ def enabled(self) -> bool:
477477
# The benchmark instance gets created just to make metadata for these old results
478478
if not super().enabled():
479479
return False
480-
if "bmg" in options.device_architecture and self.KernelExecTime == 20:
480+
481+
device_arch = getattr(options, "device_architecture", "")
482+
if "bmg" in device_arch and self.KernelExecTime == 20:
481483
# Disable this benchmark for BMG server, just create metadata
482484
return False
485+
if "bmg" not in device_arch and self.KernelExecTime == 200:
486+
# Disable KernelExecTime=200 for non-BMG systems, just create metadata
487+
return False
483488
return True
484489

485490
def get_tags(self):

0 commit comments

Comments
 (0)