Mila
Deep Neural Network Library
|
Class representing a CPU compute device. More...
Public Types | |
using | MR = CpuMemoryResource |
Type alias for device memory resource. | |
Public Member Functions | |
constexpr DeviceType | getDeviceType () const override |
Gets the type of this compute device. | |
std::string | getName () const override |
Gets the name of this CPU device. | |
![]() | |
virtual | ~ComputeDevice ()=default |
Virtual destructor. | |
Class representing a CPU compute device.
This class provides an interface to interact with CPU compute resources within the Mila framework. It defines CPU-specific behaviors and capabilities. Device registration is handled by the DeviceRegistrar class.
Type alias for device memory resource.
|
inlineconstexproverridevirtual |
Gets the type of this compute device.
Implements Mila::Dnn::Compute::ComputeDevice.
|
inlineoverridevirtual |
Gets the name of this CPU device.
Implements Mila::Dnn::Compute::ComputeDevice.