P4 to Git Change 1317211 by gandryey@gera-w8 on 2016/09/21 16:53:02
SWDEV-102971 - [CQE OCL][OpenCL on PAL] "computer on low memory" issue observed folllowed by tdr while running few WF Conformance tests together - Use custom memory allocator to avoid memory grow in PAL - Extra clean-ups in resource alloc, including a fix for image pitch in the persistent memory Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.cpp#6 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#11 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.hpp#7 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#22 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#9 edit
This commit is contained in:
@@ -251,6 +251,7 @@ VirtualGPU::Queue::flush()
|
||||
}
|
||||
// Start command buffer building
|
||||
Pal::CmdBufferBuildInfo cmdBuildInfo = {};
|
||||
cmdBuildInfo.pMemAllocator = &vlAlloc_;
|
||||
if (Pal::Result::Success != iCmdBuffs_[cmdBufIdSlot_]->Begin(cmdBuildInfo)) {
|
||||
LogError("PAL failed CB building initialization!");
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user