Function opencl3::kernel::release_kernel [−][src]
Expand description
Release an OpenCL kernel.
Calls clReleaseKernel to decrement the kernel reference count.
kernel
- the OpenCL kernel.
returns an empty Result or the error code from the OpenCL C API function.