boojum-cuda 0.151.0

Boojum-CUDA is a library implementing GPU-accelerated cryptographic functionality for the zkSync prover
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use std::collections::HashMap;
use lazy_static::lazy_static;

lazy_static! {
    static ref HASH_MAP: HashMap<&'static str, u32> = [
%HASH_MAP%    ]
    .iter()
    .copied()
    .collect();
}
%BINDINGS%
fn get_gate_data(id: u32) -> GateData {
    match id {%MAPPINGS%
        _ => panic!("unknown gate id {id}"),
    }
}