Expand description
Optional GPU backend slot for bulk SIMD offload.
The trait defines the contract a backend (Borsalino/Metal on iOS, a wgpu-based desktop backend, or a test fake) implements so the runtime can dispatch bulk SIMD work to GPU compute. Backends are identified by opaque handles, keeping the trait object-safe and FFI-friendly.
See docs/borsalino-integration.md for the integration design.
Structs§
- GpuError
- GPU backend failure.
Enums§
- GpuError
Kind - The category of a GPU backend failure.
Traits§
- GpuBackend
- A GPU compute backend for bulk SIMD offload (Borsalino Level 1).
Type Aliases§
- GpuBuffer
Id - Opaque handle to a GPU buffer, owned by the backend.
- GpuKernel
Id - Opaque handle to a compiled compute kernel, owned by the backend.