Skip to main content

Module device

Module device 

Source
Expand description

Device module.

Structs§

DeviceId
The device id.
ServiceId
One service instance: the device it runs on and the type of service running there. This pair is what the device registry keys on, so two instances never share one, whatever DeviceId two runtimes happen to hand out.

Enums§

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.

Traits§

Device
Device trait for all cubecl devices.
DeviceService
Represent a service that runs on a device.

Type Aliases§

ServerUtilitiesHandle
An pointer to a service’s server utilities.