P4 to Git Change 1458879 by gandryey@gera-w8 on 2017/09/14 11:41:44

SWDEV-129129 - [[CQE OCL][Vega vs Fiji] Upto 12% Performance drop observed on VEGA10 compared to FIJI while running BlackMagic Davinci Resolve
	More benchmark tuning:
	- Keep system memory locked in the resource cache. That removes huge amount of lock/unlock calls to OS due to the resource creation and destruciton
	- Reduce the command buffer size to 256 commands and incrrease the amount of CBs to 16
	- Increase the amount of resident resources to 2048

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#574 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.cpp#17 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#37 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#58 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#31 edit
Этот коммит содержится в:
foreman committed 2017-09-14 11:58:52 -04:00
1 родитель 44b7cfefaf
Коммит 4066449a8b
5 files changed
+39 -8

No files matched your search

+1 -1
Просмотреть файл
@@ -298,7 +298,7 @@ bool VirtualGPU::Queue::flush() {
palSdiRefs_.resize(0);
// Remove old memory references
if ((memReferences_.size() > 1024) || (residency_size_ > residency_limit_)) {
if ((memReferences_.size() > 2048) || (residency_size_ > residency_limit_)) {
for (auto it = memReferences_.begin(); it != memReferences_.end();) {
if (it->second == cmdBufIdSlot_) {
palMems_.push_back(it->first->iMem());