Skip to content

Commit 1ff920d

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

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
@@ -517,9 +517,14 @@ def enabled(self) -> bool:
517517
# The benchmark instance gets created just to make metadata for these old results
518518
if not super().enabled():
519519
return False
520-
if "bmg" in options.device_architecture and self.KernelExecTime == 20:
520+
521+
device_arch = getattr(options, "device_architecture", "")
522+
if "bmg" in device_arch and self.KernelExecTime == 20:
521523
# Disable this benchmark for BMG server, just create metadata
522524
return False
525+
if "bmg" not in device_arch and self.KernelExecTime == 200:
526+
# Disable KernelExecTime=200 for non-BMG systems, just create metadata
527+
return False
523528
return True
524529

525530
def get_tags(self):

0 commit comments

Comments
 (0)