Mila
Deep Neural Network Library
Loading...
Searching...
No Matches
Mila::Dnn::Compute::DeviceMemoryInfo Struct Referenceexport

What a device currently has free, and what it has in total. More...

Public Attributes

std::size_t free_bytes { 0 }
std::size_t total_bytes { 0 }

Detailed Description

What a device currently has free, and what it has in total.

Free memory is read, never modeled: it already accounts for the display compositor, other processes, and anything else resident, none of which a library can predict. See Specifications/MemoryFootprint.md section 2.


The documentation for this struct was generated from the following file: