Module backend

Expand description

The backend module.

Structs§

DeviceContext
Handle for accessing a DeviceState associated with a specific device.
DeviceGuard
Guard making sure only the locked device can be used.
DeviceId
The device id.
DeviceStateGuard
Guard providing mutable access to DeviceState.

Traits§

AutodiffBackend
Trait that allows a backend to support autodiff.
Backend
This trait defines all types and functions needed for a backend to be used with burn.
Device
Device trait for all cubecl devices.
DeviceOps
The handle device trait allows to get an id for a backend device.
DeviceState
A state that can be saved inside the DeviceContext.