Skip to content

Commit 505b727

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

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
@@ -459,9 +459,14 @@ def enabled(self) -> bool:
459459
# The benchmark instance gets created just to make metadata for these old results
460460
if not super().enabled():
461461
return False
462-
if "bmg" in options.device_architecture and self.KernelExecTime == 20:
462+
463+
device_arch = getattr(options, 'device_architecture', '')
464+
if "bmg" in device_arch and self.KernelExecTime == 20:
463465
# Disable this benchmark for BMG server, just create metadata
464466
return False
467+
if "bmg" not in device_arch and self.KernelExecTime == 200:
468+
# Disable KernelExecTime=200 for non-BMG systems, just create metadata
469+
return False
465470
return True
466471

467472
def get_tags(self):

0 commit comments

Comments
 (0)