mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 05:56:36 +08:00
Add implementation of new OpenCL 3.0 API functions
Additionally unify implementation of API functions related to creating buffers and images. Related-To: NEO-4368 Change-Id: Icfafc32f15e667e249fb318072194b6f76bd6481 Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
37a6a900a8
commit
0a6da52bd4
@@ -147,7 +147,7 @@ cl_mem CL_API_CALL clCreateImage(
|
||||
|
||||
cl_mem CL_API_CALL clCreateImageWithPropertiesINTEL(
|
||||
cl_context context,
|
||||
cl_mem_properties_intel *properties,
|
||||
const cl_mem_properties_intel *properties,
|
||||
const cl_image_format *imageFormat,
|
||||
const cl_image_desc *imageDesc,
|
||||
void *hostPtr,
|
||||
@@ -1069,3 +1069,22 @@ cl_int CL_API_CALL clSetProgramSpecializationConstant(
|
||||
cl_uint specId,
|
||||
size_t specSize,
|
||||
const void *specValue);
|
||||
|
||||
// OpenCL 3.0
|
||||
|
||||
cl_mem CL_API_CALL clCreateBufferWithProperties(
|
||||
cl_context context,
|
||||
const cl_mem_properties *properties,
|
||||
cl_mem_flags flags,
|
||||
size_t size,
|
||||
void *hostPtr,
|
||||
cl_int *errcodeRet);
|
||||
|
||||
cl_mem CL_API_CALL clCreateImageWithProperties(
|
||||
cl_context context,
|
||||
const cl_mem_properties *properties,
|
||||
cl_mem_flags flags,
|
||||
const cl_image_format *imageFormat,
|
||||
const cl_image_desc *imageDesc,
|
||||
void *hostPtr,
|
||||
cl_int *errcodeRet);
|
||||
|
||||
Reference in New Issue
Block a user