mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-01 19:02:31 +01:00
device: set core_clusters from core_names if not explicitly specified
if core_names are specified in the device config but core_clusters are not, assume that all cores with the same name are on the same cluster.
This commit is contained in:
@@ -175,8 +175,6 @@ class BaseLinuxDevice(Device): # pylint: disable=abstract-method
|
||||
self._abi = None
|
||||
|
||||
def validate(self):
|
||||
if len(self.core_names) != len(self.core_clusters):
|
||||
raise ConfigError('core_names and core_clusters are of different lengths.')
|
||||
if self.iks_switch_frequency is not None and self.scheduler != 'iks': # pylint: disable=E0203
|
||||
raise ConfigError('iks_switch_frequency must NOT be set for non-IKS devices.')
|
||||
if self.iks_switch_frequency is None and self.scheduler == 'iks': # pylint: disable=E0203
|
||||
|
Reference in New Issue
Block a user