Skip to content

Commit

Permalink
fix overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
yann-sjtu committed Sep 6, 2024
1 parent 7399eb9 commit cea27ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prover/prover.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ Prover::Prover(Goldilocks &fr,

#if defined(__USE_CUDA__) && defined(ENABLE_EXPERIMENTAL_CODE)
warmup_gpu();
alloc_pinned_mem_per_device((1 << _starkInfo.starkStruct.nBitsExt) * 32);
alloc_pinned_mem_per_device((uint64_t(1) << _starkInfo.starkStruct.nBitsExt) * 32);
#endif

// Allocate an area of memory, mapped to file, to store all the committed polynomials,
Expand Down

0 comments on commit cea27ba

Please sign in to comment.