pub fn detect_backend() -> Box<dyn Backend>Expand description
Detect best available backend
Priority order:
- CUDA (NVIDIA) - highest performance for NVIDIA GPUs
- WGPU - cross-platform fallback (Vulkan/Metal/DX12)
- Metal - Apple-specific (subset of WGPU)
- Vulkan - direct Vulkan (subset of WGPU)