vyre 0.4.0

GPU compute intermediate representation with a standard operation library
Documentation
1
2
3
4
5
use super::hash_params::{BASE, MOD};

pub(crate) fn push_hash(hash: u64, byte: u8) -> u64 {
    (hash * BASE + u64::from(byte)) % MOD
}