pub fn mem_info() -> Result<CudaMemInfo>
Expand description

Returns the free and total device memory in bytes

The result is a tuple: (free, total).