func retainSampler(s *Sampler) { if s.clSampler != nil { C.clRetainSampler(s.clSampler) } }
// see https://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clRetainSampler.html func RetainSampler(sampler Sampler) ErrorCode { return ErrorCode(C.clRetainSampler(sampler)) }
func CLRetainSampler(sampler CL_sampler) CL_int { return CL_int(C.clRetainSampler(sampler.cl_sampler)) }