Realm

oa::crypto::ntt::forward

Compute a natural-order forward cyclic NTT, preserving field representation. Records staged GPU work with two reusable private buffers. It performs no tensor host reads, waits or per-stage host initialization. Errors Rejects dtype, shape, ownership, address limits, allocation or recording failures.

FnRust public API

Function Documentation

pub fn forward( input: &Matrix, parameters: &NttParameters ) -> Result<Matrix>
Compute a natural-order forward cyclic NTT, preserving field representation. Records staged GPU work with two reusable private buffers. It performs no tensor host reads, waits or per-stage host initialization. Errors Rejects dtype, shape, ownership, address limits, allocation or recording failures.