mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-20 08:36:09 +08:00
Limit number of CCS engines on PVC
Expose only one CCS engine Related-To: NEO-7195 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
6aec85ff54
commit
8f8370be32
@@ -199,4 +199,14 @@ void ExecutionEnvironment::parseAffinityMask() {
|
||||
|
||||
rootDeviceEnvironments.swap(filteredEnvironments);
|
||||
}
|
||||
|
||||
void ExecutionEnvironment::adjustCcsCount() const {
|
||||
for (auto &rootDeviceEnvironment : rootDeviceEnvironments) {
|
||||
UNRECOVERABLE_IF(!rootDeviceEnvironment);
|
||||
auto hwInfo = rootDeviceEnvironment->getMutableHardwareInfo();
|
||||
auto hwInfoConfig = HwInfoConfig::get(hwInfo->platform.eProductFamily);
|
||||
hwInfoConfig->adjustNumberOfCcs(*hwInfo);
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace NEO
|
||||
|
||||
Reference in New Issue
Block a user