Skip to main content

alloc

Function alloc 

Source
pub fn alloc(byte_size: usize) -> Result<DevicePtr>
Expand description

Allocate byte_size bytes of device memory in the current CUDA context.