Skip to main content

device_caps

Function device_caps 

Source
pub fn device_caps(device: &CombsDevice) -> DeviceCaps
Expand description

Queries the adapter for its limits/features and returns DeviceCaps.

Like device_info, this performs the cubecl runtime setup for the device, so it is safe (and cheap) to use the device afterwards.