Expand description
GPU Backend Abstraction Layer
This module provides a unified interface for different GPU backends, supporting CUDA, ROCm, Metal, WebGPU, and CPU fallback.
Structs§
- Backend
Factory - GPU backend factory
- Compiled
Kernel - Compiled kernel representation
- CpuBackend
- CPU backend (fallback implementation)
- Cuda
Backend - CUDA backend implementation
- Device
Capabilities - GPU device capabilities
- Device
Memory - Device memory handle
- Metal
Backend - Metal backend implementation
- Rocm
Backend - ROCm backend implementation
- Wgpu
Backend - WebGPU backend implementation
Enums§
- Backend
Error - Errors that can occur with GPU backends
- GpuBackend
- GPU backend types supported by the optimizer
- Kernel
Arg - Kernel argument types
Traits§
- Backend
- Trait for GPU backend implementations