pub fn mem_info() -> Result<CudaMemInfo>
Expand description
Returns the free and total device memory in bytes
The result is a tuple: (free, total)
.
pub fn mem_info() -> Result<CudaMemInfo>
Returns the free and total device memory in bytes
The result is a tuple: (free, total)
.