Skip to main content

device_info

Function device_info 

Source
pub fn device_info(device: &CombsDevice) -> DeviceInfo
Expand description

Initializes the wgpu runtime for device and returns adapter information.

Note: this performs the cubecl runtime setup for the device (the same setup burn performs lazily on first tensor use), so it is safe to use the device for compute afterwards.