P4 to Git Change 1472044 by lmoriche@lmoriche_opencl_dev2 on 2017/10/18 12:47:26
SWDEV-126884 - OCL 2.1 Platform APIs - Report the OpenCL 2.1 platform on staging Affected files ... ... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/amdocl.map.in#20 edit ... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#163 edit ... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/build/Makefile.headers#6 edit ... //depot/stg/opencl/drivers/opencl/make/amdgcn.git/irif/build/Makefile.irif#8 edit ... //depot/stg/opencl/drivers/opencl/make/amdgcn.git/ockl/build/Makefile.ockl#9 edit ... //depot/stg/opencl/drivers/opencl/make/amdgcn.git/oclc/build/Makefile.oclc#11 edit ... //depot/stg/opencl/drivers/opencl/make/amdgcn.git/ocml/build/Makefile.ocml#9 edit ... //depot/stg/opencl/drivers/opencl/make/amdgcn.git/opencl/build/Makefile.opencl#13 edit ... //depot/stg/opencl/drivers/opencl/opencldefs#217 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#149 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#357 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#24 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#35 edit
This commit is contained in:
@@ -248,6 +248,9 @@ bool Settings::create(const Pal::DeviceProperties& palProp,
|
||||
}
|
||||
numComputeRings_ = 8;
|
||||
|
||||
// Cap at OpenCL20 for now
|
||||
if (oclVersion_ > OpenCL20) oclVersion_ = OpenCL20;
|
||||
|
||||
// This needs to be cleaned once 64bit addressing is stable
|
||||
if (oclVersion_ < OpenCL20) {
|
||||
use64BitPtr_ = flagIsDefault(GPU_FORCE_64BIT_PTR)
|
||||
|
||||
Reference in New Issue
Block a user