Skip to main content

Module backend

Module backend 

Source
Expand description

The ArithmeticBackend trait and the Executor that selects between CPU and GPU at runtime. All batch math in the crate flows through the Executor — it never hard-codes a backend.

Structs§

Executor
Runtime dispatcher between the CPU and (optional) GPU backends.

Traits§

ArithmeticBackend
A backend that can perform elementwise RNS arithmetic over a RnsBatch.

Functions§

executor
The lazily-initialized, crate-wide executor.