Skip to main content

Module backend

Module backend 

Source
Expand description

CPU execution and the interfaces used by future resident-buffer backends. Execution backends and resident-buffer abstractions.

crate::backend::CpuBackend is the implemented backend. Backend authors implement crate::backend::Backend and, when buffers can remain outside ordinary host arrays, crate::backend::ResidentBackend. Reconstruction code accesses these interfaces through crate::reconstruction::ReconstructionState.

Structs§

BackendCapabilities
Feature declaration returned by an execution backend.
CpuBackend
rustfft-based CPU backend with plans cached for low- and high-resolution grids.

Enums§

FftDirection
Direction of an unnormalized two-dimensional complex FFT.
MemoryLocation
Memory domain in which a backend buffer resides.

Traits§

Backend
Minimal backend boundary. Buffers stay owned by reconstruction state.
ComplexBuffer
Type-erased contiguous buffer of Complex64 values owned by a resident backend.
RealBuffer
Type-erased contiguous buffer of f64 values owned by a resident backend.
ResidentBackend
Optional typed-buffer operations for backends that can keep reconstruction state resident in their preferred memory domain.