pub unsafe fn enqueue_write_buffer<T>( cq: &CommandQueue, mem: *mut c_void, data: &[T], block: bool, ) -> Result<Event, Error>
valid mem object