Struct collenchyma::frameworks::cuda::memory::Memory
[−]
[src]
pub struct Memory { /* fields omitted */ }
Defines a Cuda Memory.
Methods
impl Memory
[src]
fn new(size: usize) -> Result<Memory, DriverError>
Initializes a new Cuda memory.
fn from_c(id: c_ulonglong) -> Memory
Initializes a new Cuda memory from its C type.
fn id_c(&self) -> &c_ulonglong
Returns the memory id as its C type.