Module backend

Module backend 

Expand description

The backend module.

Modules§

ops
Backend operations on tensors.

Structs§

BackTrace
Contains the backtrace information if available.
DeviceId
The device id.
DeviceSettings
Settings controlling the default data types for a specific device.
HashMap
A hash map implemented with quadratic probing and SIMD lookup.

Enums§

DTypeUsage
Describes how a data type can be used on a given device.
DeviceError
Errors that can occur during device-related operations.
DeviceServiceStage
Pipeline stage a DeviceService runs on. Each stage gets its own runner thread per device, allowing upstream work to overlap with downstream kernel dispatch.
ExecutionError
An error that can happen when syncing a device.
TensorPrimitive
A primitive tensor representation.

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.
BackendTypes
The mapping of types used by Backend and traits like Numeric, BasicOps
Device
Device trait for all cubecl devices.
DeviceOps
Device trait for all burn backend devices.
DeviceService
Represent a service that runs on a device.
QTensorPrimitive
Quantized tensor primitive.
TensorMetadata
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§

DTypeUsageSet
A set of DTypeUsage representing the total capabilities of a data type on a device.
ServerUtilitiesHandle
An pointer to a service’s server utilities.