mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 22:12:59 +08:00
Add clSetContextDestructorCallback API function
Change-Id: If0f06ffcbd6236ef7ffbc78347e67897177eb121 Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
fe5bda3ed1
commit
c5866944f4
@@ -1088,3 +1088,8 @@ cl_mem CL_API_CALL clCreateImageWithProperties(
|
||||
const cl_image_desc *imageDesc,
|
||||
void *hostPtr,
|
||||
cl_int *errcodeRet);
|
||||
|
||||
cl_int CL_API_CALL clSetContextDestructorCallback(
|
||||
cl_context context,
|
||||
void(CL_CALLBACK *pfn_notify)(cl_context /* context */, void * /* user_data */),
|
||||
void *user_data);
|
||||
|
||||
Reference in New Issue
Block a user