mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Use FusedEu Dpas W/A only in ACM
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
67b14e2034
commit
6ab9037c35
@@ -2402,7 +2402,7 @@ inline bool getFusedEuDisabled(Kernel &kernel, Device *device, const ze_group_co
|
||||
|
||||
bool fusedEuDisabled = kernelAttributes.flags.requiresDisabledEUFusion;
|
||||
auto &productHelper = device->getProductHelper();
|
||||
if (productHelper.isCalculationForDisablingEuFusionWithDpasNeeded()) {
|
||||
if (productHelper.isCalculationForDisablingEuFusionWithDpasNeeded(device->getHwInfo())) {
|
||||
if (threadGroupDimensions) {
|
||||
uint32_t *groupCountPtr = nullptr;
|
||||
uint32_t groupCount[3] = {};
|
||||
@@ -2412,7 +2412,7 @@ inline bool getFusedEuDisabled(Kernel &kernel, Device *device, const ze_group_co
|
||||
groupCount[2] = threadGroupDimensions->groupCountZ;
|
||||
groupCountPtr = groupCount;
|
||||
}
|
||||
fusedEuDisabled |= productHelper.isFusedEuDisabledForDpas(kernelAttributes.flags.usesSystolicPipelineSelectMode, kernel.getGroupSize(), groupCountPtr);
|
||||
fusedEuDisabled |= productHelper.isFusedEuDisabledForDpas(kernelAttributes.flags.usesSystolicPipelineSelectMode, kernel.getGroupSize(), groupCountPtr, device->getHwInfo());
|
||||
}
|
||||
}
|
||||
return fusedEuDisabled;
|
||||
|
||||
Reference in New Issue
Block a user