P4 to Git Change 1358907 by skudchad@skudchad_test_win_opencl2 on 2017/01/05 15:04:39

SWDEV-107966 - PCMark10 OpenCL Performance Regression with SVM
	- Remove optimization for pinned memory. This causes performance drops now what we can use SUA model. This can be inserted in the future if the IOMMUv2 HW gets faster

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#237 edit


[ROCm/clr commit: 46b8820454]
Este commit está contenido en:
foreman
2017-01-05 15:16:37 -05:00
padre 3fcbe1c281
commit 6b33e1c577
@@ -457,7 +457,7 @@ Resource::create(MemoryType memType, CreateParams* params)
desc.mipLevels = cal()->mipLevels_;
desc.systemMemory = NULL;
uint allocAttempt = 0;
uint allocAttempt = 0;
do {
// Find a type for allocation
if (memoryType() == Persistent) {
@@ -608,11 +608,6 @@ Resource::create(MemoryType memType, CreateParams* params)
return false;
}
if(dev().settings().svmFineGrainSystem_) {
cal_.isAllocExecute_ = desc.isAllocExecute = true;
cal_.isAllocSVM_ = desc.isAllocSVM = true;
}
gslResource = dev().resAlloc(&desc);
if (gslResource != 0) {
calRes = true;