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 于 2017-09-14 11:58:52 -04:00 提交
1 父节点 44b7cfefaf
当前提交 4066449a8b
5 个文件已更改
+39 -8

没有与搜索条件相匹配的文件

+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());