P4 to Git Change 1191432 by yaxunl@yaxunl_stg_win50 on 2015/09/16 17:16:06
ECR #354633 - SPIR-V: Rename clCreateProgramWithIL as clCreateProgramWithILKHR and define it as an extension API. Add API to OCL 1.2/2.1. Add cl_khr_il_program extension. Fix SPIR-V conformance and ocltst. Affected files ... ... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/amdocl.def.in#15 edit ... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/amdocl.map.in#18 edit ... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_context.cpp#44 edit ... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_icd.cpp#24 edit ... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_icd_amd.h#17 edit ... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_program.cpp#37 edit ... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl_ext.h#9 edit ... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl.h#21 edit ... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#16 edit ... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl.h#3 edit ... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/OpenCL.def.in#12 edit ... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_dispatch.c#28 edit ... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_dispatch.h#23 edit ... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_exports.map.in#8 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpusettings.cpp#30 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#252 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsasettings.cpp#37 edit ... //depot/stg/opencl/drivers/opencl/tests/conformance/devel/2.0/test_conformance/spirv/main.cpp#7 edit ... //depot/stg/opencl/drivers/opencl/tests/conformance/devel/2.0/test_conformance/spirv/run_services.cpp#3 edit ... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/spir/SPIRVBasic.cpp#3 edit
This commit is contained in:
@@ -47,6 +47,7 @@ Settings::create()
|
||||
enableExtension(ClKhrD3d10Sharing);
|
||||
#endif // _WIN32
|
||||
enableExtension(ClKhrSpir);
|
||||
enableExtension(ClKhrIlProgram);
|
||||
|
||||
// Enable some OpenCL 2.0 extensions
|
||||
if ((OPENCL_MAJOR >= 2) && (CPU_OPENCL_VERSION >= 200)) {
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user