Skip to main content

Module device

Module device 

Source

Structs§

DeviceId
The device id.
DeviceSettings
Settings controlling the default data types for a specific device.
HashMapstd
A hash map implemented with quadratic probing and SIMD lookup.

Enums§

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.

Traits§

Device
Device trait for all ruda devices.
DeviceOps
Device trait for all ruda backend devices.
DeviceService
Represent a service that runs on a device.

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§

ServerUtilitiesHandle
An pointer to a service’s server utilities.