mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-20 13:11:34 +08:00
Selectively enable getMaxThreadsForWorkgroup WA
Related-To: NEO-6022 Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
0b8b7000d5
commit
bbe599aa95
@ -55,11 +55,6 @@ uint32_t HwHelper::getMaxThreadsForVfe(const HardwareInfo &hwInfo) {
|
||||
return maxHwThreadsReturned;
|
||||
}
|
||||
|
||||
uint32_t HwHelper::getMaxThreadsForWorkgroup(const HardwareInfo &hwInfo, uint32_t maxNumEUsPerSubSlice) const {
|
||||
uint32_t numThreadsPerEU = hwInfo.gtSystemInfo.ThreadCount / hwInfo.gtSystemInfo.EUCount;
|
||||
return maxNumEUsPerSubSlice * numThreadsPerEU;
|
||||
}
|
||||
|
||||
uint32_t HwHelper::getSubDevicesCount(const HardwareInfo *pHwInfo) {
|
||||
if (DebugManager.flags.CreateMultipleSubDevices.get() > 0) {
|
||||
return DebugManager.flags.CreateMultipleSubDevices.get();
|
||||
|
Reference in New Issue
Block a user