P4 to Git Change 1379762 by rili@rili-opencl-pal-stg on 2017/03/01 14:16:43
SWDEV-95925 - Implement SVM fine grain system. Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#34 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#25 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#19 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#44 edit
This commit is contained in:
@@ -82,9 +82,6 @@ Settings::Settings()
|
||||
// GPU device by default
|
||||
apuSystem_ = false;
|
||||
|
||||
// Fine-Grained System is disabled by default
|
||||
svmFineGrainSystem_ = false;
|
||||
|
||||
// Disable 64 bit pointers support by default
|
||||
use64BitPtr_ = false;
|
||||
|
||||
@@ -361,12 +358,11 @@ Settings::create(
|
||||
// accessing persistent staged buffer may fail if LongIdleDetct is enabled.
|
||||
disablePersistent_ = true;
|
||||
}
|
||||
|
||||
svmFineGrainSystem_ = calAttr.isSVMFineGrainSystem;
|
||||
|
||||
svmAtomics_ = (calAttr.svmAtomics || calAttr.isSVMFineGrainSystem) ? true : false;
|
||||
*/
|
||||
|
||||
svmFineGrainSystem_ = palProp.gpuMemoryProperties.flags.iommuv2Support;
|
||||
svmAtomics_ = svmFineGrainSystem_;
|
||||
|
||||
// SVM is not currently supported for DX Interop
|
||||
#if defined(_WIN32)
|
||||
enableExtension(ClKhrD3d9Sharing);
|
||||
|
||||
Reference in New Issue
Block a user