DelphinusLab / zkWasm

Apache License 2.0
479 stars 95 forks source link

GpuTools(Cuda(NoBinaryForGpu)) #200

Closed Demontf closed 11 months ago

Demontf commented 11 months ago

when run cargo run --release --features cuda -- -k 18 --function zkmain --param ./params --output ./output --wasm ../zkwasm/wasm/wasm_output.wasm single-prove --public 133:i64 --public 2:i64

got this:

thread 'main' panicked at 'called Result::unwrap() on an Err value: GpuTools(Cuda(NoBinaryForGpu))', /root/.cargo/git/checkouts/halo2-gpu-specific-4d08aed75011eb52/64ccffd/halo2_proofs/src/arithmetic.rs:356:53

Demontf commented 11 months ago

fixd different GPU need to set EC_GPU_CUDA_NVCC_ARGS="--fatbin --gpu-architecture=sm_75 --generate-code=arch=compute_75,code=sm_75"