pub fn default_device() -> &'static DeviceExpand description
Return the device docbert-plaid uses for all tensor compute.
Cached on first call. The choice is:
- With the
cudafeature and a usable CUDA device →Device::Cuda(0). - Otherwise →
Device::Cpu.