// see https://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clRetainKernel.html func RetainKernel(ker Kernel) ErrorCode { return ErrorCode(C.clRetainKernel(ker)) }
func CLRetainKernel(kernel CL_kernel) CL_int { return CL_int(C.clRetainKernel(kernel.cl_kernel)) }
func retainKernel(k *Kernel) { if k.clKernel != nil { C.clRetainKernel(k.clKernel) } }