P4 to Git Change 1333973 by rili@rili-opencl-pal-stg on 2016/10/31 10:41:30

SWDEV-95903 -  Implement SVM on PAL feature.
	1. Implement SVM Coarse Grain
	2. Implement SVM Fine Grain Buffer

	Review:http://ocltc.amd.com/reviews/r/11706/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#30 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#17 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.hpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#36 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#259 edit
This commit is contained in:
foreman
2016-10-31 10:47:23 -04:00
bovenliggende a432789fb0
commit b925842e4e
6 gewijzigde bestanden met toevoegingen van 69 en 3 verwijderingen
@@ -1063,8 +1063,12 @@ Device::init()
info.flags.disableGpuTimeout = true;
#ifdef ATI_BITS_32
info.flags.force32BitVaSpace = true;
info.flags.enableSvmMode = false;
#else
info.flags.enableSvmMode = true;
#endif
info.pSettingsPath = "OCL";
info.maxSvmSize = static_cast<Pal::gpusize>(OCL_SET_SVM_SIZE * Mi);
// PAL init
if (Pal::Result::Success !=