pub fn mem_get_info() -> CudaRtResult<(usize, usize)>Expand description
Returns (free_bytes, total_bytes) for the current device’s global memory.
Mirrors cudaMemGetInfo.
§Errors
Propagates driver errors.
pub fn mem_get_info() -> CudaRtResult<(usize, usize)>Returns (free_bytes, total_bytes) for the current device’s global memory.
Mirrors cudaMemGetInfo.
Propagates driver errors.