Mila 0.13.48
Deep Neural Network Library
Loading...
Searching...
No Matches
Mila::Dnn::Compute::DeviceConstructionKey Class Referenceexport

Construction key for device factories. More...

Private Member Functions

 DeviceConstructionKey ()=default

Friends

class DeviceRegistry

Detailed Description

Construction key for device factories.

Passkey pattern token that restricts Device subclass construction to authorized factory contexts. Only DeviceRegistry can create instances of this key, ensuring devices are only constructed through the registry.

Constructor & Destructor Documentation

◆ DeviceConstructionKey()

Mila::Dnn::Compute::DeviceConstructionKey::DeviceConstructionKey ( )
privatedefault

◆ DeviceRegistry

friend class DeviceRegistry
friend

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