Exemple #1
0
func retainSampler(s *Sampler) {
	if s.clSampler != nil {
		C.clRetainSampler(s.clSampler)
	}
}
Exemple #2
0
// 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))
}
Exemple #3
0
func CLRetainSampler(sampler CL_sampler) CL_int {
	return CL_int(C.clRetainSampler(sampler.cl_sampler))
}