zama-ai / tfhe-rs

TFHE-rs: A Pure Rust implementation of the TFHE Scheme for Boolean and Integer Arithmetics Over Encrypted Data.
Other
826 stars 126 forks source link

chore(gpu): use byte add, update rust msrv #1288

Closed agnesLeroy closed 1 week ago

agnesLeroy commented 1 week ago

closes: https://github.com/zama-ai/tfhe-rs-internal/issues/549

PR content/description

Check-list:

tmontaigu commented 1 week ago

We could use https://doc.rust-lang.org/std/primitive.pointer.html#method.wrapping_byte_add-1 which does the same thing but is not unsafe

agnesLeroy commented 1 week ago

@tmontaigu I just pushed the change.