mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 05:24:02 +08:00
Add new EngineUsage
Simplify verifying EngineUsage in tryGetEngine function. Remove unused getGpgpuEnginesCount function. Related-To: NEO-4940 Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
fccd22e3c7
commit
63f8c9d98b
@@ -65,17 +65,4 @@ uint32_t HwHelper::getSubDevicesCount(const HardwareInfo *pHwInfo) {
|
||||
}
|
||||
}
|
||||
|
||||
uint32_t HwHelper::getGpgpuEnginesCount(const HardwareInfo &hwInfo) {
|
||||
uint32_t enginesCount = 0;
|
||||
|
||||
if (hwInfo.featureTable.ftrCCSNode) {
|
||||
enginesCount += hwInfo.gtSystemInfo.CCSInfo.NumberOfCCSEnabled;
|
||||
}
|
||||
|
||||
if (hwInfo.featureTable.ftrRcsNode) {
|
||||
enginesCount += 1;
|
||||
}
|
||||
|
||||
return enginesCount;
|
||||
}
|
||||
} // namespace NEO
|
||||
|
||||
Reference in New Issue
Block a user