Remove incorrect UNRECOVERABLE_IF()

Change-Id: I5d56fcff8ca2449404c30b89d54f631b1da3db87
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
Mateusz Hoppe
2020-10-30 17:42:57 +01:00
parent d35806fdd8
commit 17b2a29945

View File

@@ -1627,7 +1627,6 @@ ze_result_t CommandListCoreFamily<gfxCoreFamily>::prepareIndirectParams(const ze
commandContainer.addToResidencyContainer(allocData->cpuAllocation);
groupCountOffset = ptrDiff(pThreadGroupDimensions, allocData->cpuAllocation->getUnderlyingBuffer());
} else {
UNRECOVERABLE_IF(reinterpret_cast<uint64_t>(alloc->getUnderlyingBuffer()) != alloc->getGpuAddress());
groupCountOffset = ptrDiff(pThreadGroupDimensions, alloc->getGpuAddress());
}