Module backend
Expand description
The backend module.
Modules§
- ops
- Backend operations on tensors.
Structs§
- Back
Trace - Contains the backtrace information if available.
- Device
Id - The device id.
- Device
Settings - Settings controlling the default data types for a specific device.
- HashMap
- A hash map implemented with quadratic probing and SIMD lookup.
Enums§
- DType
Usage - Describes how a data type can be used on a given device.
- Device
Error - Errors that can occur during device-related operations.
- Device
Service Stage - Pipeline stage a
DeviceServiceruns on. Each stage gets its own runner thread per device, allowing upstream work to overlap with downstream kernel dispatch. - Execution
Error - An error that can happen when syncing a device.
- Tensor
Primitive - A primitive tensor representation.
Traits§
- Autodiff
Backend - 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.
- Backend
Types - The mapping of types used by Backend and traits like Numeric, BasicOps
- Device
- Device trait for all cubecl devices.
- Device
Ops - Device trait for all burn backend devices.
- Device
Service - Represent a service that runs on a device.
- QTensor
Primitive - Quantized tensor primitive.
- Tensor
Metadata - Tensor metadata trait for tensor primitive.
Functions§
- get_
device_ settings - Get the
device’s settings. - set_
default_ dtypes - Sets the default data types for the device.
- set_
default_ float_ dtype - Sets the default floating-point data type for the device.
- set_
default_ int_ dtype - Sets the default integer data type for the device.
Type Aliases§
- DType
Usage Set - A set of DTypeUsage representing the total capabilities of a data type on a device.
- Server
Utilities Handle - An pointer to a service’s server utilities.