mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 09:58:55 +08:00
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:
committed by
Compute-Runtime-Automation
parent
65188fc90b
commit
c6aac6f2bc
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user