P4 to Git Change 1461118 by gandryey@gera-w8 on 2017/09/20 12:04:57

SWDEV-86035 -  Switch back to 8 CBs due to HW hangs with HWSC on VI.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#59 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#32 edit


[ROCm/clr commit: e53571d05b]
Этот коммит содержится в:
foreman
2017-09-20 12:18:30 -04:00
родитель 6576f84861
Коммит acb23488de
2 изменённых файлов: 3 добавлений и 2 удалений
+1 -1
Просмотреть файл
@@ -757,7 +757,7 @@ bool VirtualGPU::create(bool profiling, uint deviceQueueSize, uint rtCUs,
createInfo.allocInfo[Pal::CommandDataAlloc].allocHeap = Pal::GpuHeapGartCacheable;
createInfo.allocInfo[Pal::CommandDataAlloc].allocSize =
createInfo.allocInfo[Pal::CommandDataAlloc].suballocSize =
VirtualGPU::Queue::MaxCommands * (256 + ((profiling) ? 64 : 0));
VirtualGPU::Queue::MaxCommands * (320 + ((profiling) ? 64 : 0));
createInfo.allocInfo[Pal::EmbeddedDataAlloc].allocHeap = Pal::GpuHeapGartCacheable;
createInfo.allocInfo[Pal::EmbeddedDataAlloc].allocSize = 64 * Ki;
+2 -1
Просмотреть файл
@@ -41,7 +41,8 @@ class VirtualGPU : public device::VirtualDevice {
public:
class Queue : public amd::HeapObject {
public:
static const uint MaxCmdBuffers = 16;
// Note: More command buffers may cause a HW hang with HWSC on VI family in OCLPerfKernelArguments
static const uint MaxCmdBuffers = 8;
static const uint MaxCommands = 256;
static const uint StartCmdBufIdx = 1;
static const uint FirstMemoryReference = 0x80000000;