Beispiel #1
0
// CloseMemory destroys the fmap associated with an in-memory object
func CloseMemory(f *Fmap) {
	C.cl_fmap_close((*C.cl_fmap_t)(f))
}
Beispiel #2
0
/* Close resources associated with the map, you should release any resources
 * you hold only after (handles, maps) calling this function */
func (f *Fmap) Close() {
	C.cl_fmap_close((*C.struct_cl_fmap)(f))
}