P4 to Git Change 1546955 by vsytchen@vsytchen-ocl-win10 on 2018/04/26 18:13:03

SWDEV-151646 - [Win7_64][VEGA 10] Hard hang/blank screen observed while executing PC MARK8 (Video group chart)

	1. Revert to using max number of command buffers for device queue.

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/14714/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#95 edit


[ROCm/clr commit: fa3460a862]
This commit is contained in:
foreman
2018-04-26 18:18:28 -04:00
orang tua 32f7708794
melakukan 3e13e0b475
@@ -757,7 +757,7 @@ bool VirtualGPU::create(bool profiling, uint deviceQueueSize, uint rtCUs,
uint idx = index() % (dev().numComputeEngines() - firstQueue);
uint64_t residency_limit = dev().properties().gpuMemoryProperties.flags.supportPerSubmitMemRefs ? 0 :
(dev().properties().gpuMemoryProperties.maxLocalMemSize >> 2);
uint max_cmd_buffers = (idx == 0) ? 2 : dev().settings().maxCmdBuffers_;
uint max_cmd_buffers = dev().settings().maxCmdBuffers_;
if (dev().numComputeEngines()) {
//! @todo There is a hang with a mix of user and non user queues.