| Crates.io | zeknox_p2 |
| lib.rs | zeknox_p2 |
| version | 1.0.1 |
| created_at | 2025-02-06 08:58:24.901778+00 |
| updated_at | 2025-02-07 08:50:52.81692+00 |
| description | ZEro KNOwledge Xcelerated (accelerated ZKP) compatible with 0xPolygonZero/plonky2 |
| homepage | https://github.com/okx/zeknox.git |
| repository | https://github.com/okx/zeknox.git |
| max_upload_size | |
| id | 1545248 |
| size | 77,252 |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Also, set Rust nighly:
rustup override set nightly
gl64-86-89-90-libzeknox-p2.a from the Github release page for zeknox_p2, then run:sudo cp gl64-86-89-90-libzeknox-p2.a /usr/local/lib/libzeknox.a
sudo cp libblst.a /usr/local/lib/
First, set the number of GPUs you want to run the tests on. You need at least one GPU in your test system.
export NUM_OF_GPUS=1
./run_rust_tests.sh
For example:
export NUM_OF_GPUS=1
cargo bench --bench=gpu_fft_batch
cargo bench --bench=lde_batch
cargo bench --bench=transpose