pub unsafe fn cuda_lwe_ciphertext_cleartext_mul_async<Scalar>(
    output: &mut CudaLweCiphertextList<Scalar>,
    input: &CudaLweCiphertextList<Scalar>,
    cleartext: &CudaVec<Scalar>,
    stream: &CudaStream
)
where Scalar: UnsignedInteger,
Available on crate feature gpu only.
Expand description

§Safety

  • stream must be synchronized to guarantee computation has finished, and inputs must not be dropped until stream is synchronised