Skip to main content

Module l1

Module l1 

Source
Expand description

Typed L1 ops: axpy, dot, nrm2, scal, asum, iamax, iamin, copy, swap, rot.

Each op routes through the cuBLAS *Ex entry point so we can ship the same code for f32, f64, f16, and bf16 (and later fp8) without the per-dtype cublasS*/cublasD* ladder. The wrappers live in crate::sys::cublas.

Structs§

AsumRequest
AxpyRequest
CopyRequest
DotRequest
IamaxRequest
IaminRequest
Nrm2Request
Compute ||x||_2. The result is written to a host-side Box<MaybeUninit<T::Scalar>> and forwarded back through reply.
RotRequest
Givens rotation: applies a 2D rotation (x_i, y_i) := (c·x_i + s·y_i, -s·x_i + c·y_i) in-place across two vectors.
ScalRequest
SwapRequest