fix: remove unnessessary check chunking prefetch

Removed checking for EnableBOChunkingPrefetch in prefetchBOWithChunking
in DrmAllocation so that zeCommandListAppendMemoryPrefetch will work
as expected with chunking enabled

Related-To: NEO-8098
Signed-off-by: Yoon, Young Jin <young.jin.yoon@intel.com>
This commit is contained in:
Yoon, Young Jin
2023-09-05 13:08:57 +00:00
committed by Compute-Runtime-Automation
parent 65188fc90b
commit c6aac6f2bc
2 changed files with 0 additions and 32 deletions

View File

@@ -183,10 +183,6 @@ bool DrmAllocation::setCacheAdvice(Drm *drm, size_t regionSize, CacheRegion regi
}
bool DrmAllocation::prefetchBOWithChunking(Drm *drm) {
if (!(NEO::DebugManager.flags.EnableBOChunkingPrefetch.get())) {
return false;
}
auto getSubDeviceIds = [](const DeviceBitfield &subDeviceBitfield) {
SubDeviceIdsVec subDeviceIds;
for (auto subDeviceId = 0u; subDeviceId < subDeviceBitfield.size(); subDeviceId++) {