pub fn free(ptr: DevicePtr) -> Result<()>
Free a device allocation previously returned by alloc.
alloc