Dont create hostptr allocation for blit calls if already exists

Change-Id: If3d9f50189dd31e24796f1f56ce400360c461877
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
Dunajski, Bartosz
2019-10-23 11:56:55 +02:00
committed by sys_ocldev
parent 3aeaaf6eb3
commit caedea28f8
5 changed files with 20 additions and 2 deletions

View File

@@ -38,6 +38,7 @@ struct BuiltinOpParams {
GraphicsAllocation *srcSvmAlloc = nullptr;
GraphicsAllocation *dstSvmAlloc = nullptr;
GraphicsAllocation *mapAllocation = nullptr;
GraphicsAllocation *hostPtrAllocation = nullptr;
const MemObjsForAuxTranslation *memObjsForAuxTranslation = nullptr;
AuxTranslationDirection auxTranslationDirection = AuxTranslationDirection::None;
bool unifiedMemoryArgsRequireMemSync = true;