|
Mila 0.13.48
Deep Neural Network Library
|
Lightweight device identifier value type. More...
Classes | |
| struct | Mila::Dnn::Compute::DeviceId |
| Lightweight identifier for a compute device. More... | |
| struct | std::hash< Mila::Dnn::Compute::DeviceId > |
| Hash specialization for DeviceId. More... | |
Namespaces | |
| namespace | Mila |
| Mila main API namespace. | |
| namespace | Mila::Dnn |
| namespace | Mila::Dnn::Compute |
| namespace | std |
Lightweight device identifier value type.
Provides a compact, comparable representation of a device type and index (e.g., "Cuda:0", "CPU:0"). Typically constructed via Device factory methods (Device::Cuda(0), Device::Cpu()) rather than directly.