mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
Update functions to create buffer and image objects
Functions clCreateBufferWithPropertiesINTEL and clCreateImageWithPropertiesINTEL now accept a parameter `cl_mem_flags flags`. Change-Id: I71823457397c00f93aed236afaa0041936c4161d Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
60430d79ee
commit
155578568b
@@ -126,6 +126,7 @@ cl_mem CL_API_CALL clCreateBuffer(
|
||||
cl_mem CL_API_CALL clCreateBufferWithPropertiesINTEL(
|
||||
cl_context context,
|
||||
const cl_mem_properties_intel *properties,
|
||||
cl_mem_flags flags,
|
||||
size_t size,
|
||||
void *hostPtr,
|
||||
cl_int *errcodeRet);
|
||||
@@ -148,6 +149,7 @@ cl_mem CL_API_CALL clCreateImage(
|
||||
cl_mem CL_API_CALL clCreateImageWithPropertiesINTEL(
|
||||
cl_context context,
|
||||
const cl_mem_properties_intel *properties,
|
||||
cl_mem_flags flags,
|
||||
const cl_image_format *imageFormat,
|
||||
const cl_image_desc *imageDesc,
|
||||
void *hostPtr,
|
||||
|
||||
Reference in New Issue
Block a user