Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::thread_heuristics Namespace Reference

Variables

constexpr size_t FF_ADDITION_COST = 4
 
constexpr size_t FF_MULTIPLICATION_COST = 21
 
constexpr size_t FF_INVERSION_COST = 7000
 
constexpr size_t GE_ADDITION_COST = 350
 
constexpr size_t GE_DOUBLING_COST = 194
 
constexpr size_t SM_COST = 50000
 
constexpr size_t FF_COPY_COST = 3
 
constexpr size_t ALWAYS_MULTITHREAD = 100000
 

Variable Documentation

◆ ALWAYS_MULTITHREAD

constexpr size_t bb::thread_heuristics::ALWAYS_MULTITHREAD = 100000
constexpr

Definition at line 148 of file thread.hpp.

◆ FF_ADDITION_COST

constexpr size_t bb::thread_heuristics::FF_ADDITION_COST = 4
constexpr

Definition at line 134 of file thread.hpp.

◆ FF_COPY_COST

constexpr size_t bb::thread_heuristics::FF_COPY_COST = 3
constexpr

Definition at line 146 of file thread.hpp.

◆ FF_INVERSION_COST

constexpr size_t bb::thread_heuristics::FF_INVERSION_COST = 7000
constexpr

Definition at line 138 of file thread.hpp.

◆ FF_MULTIPLICATION_COST

constexpr size_t bb::thread_heuristics::FF_MULTIPLICATION_COST = 21
constexpr

Definition at line 136 of file thread.hpp.

◆ GE_ADDITION_COST

constexpr size_t bb::thread_heuristics::GE_ADDITION_COST = 350
constexpr

Definition at line 140 of file thread.hpp.

◆ GE_DOUBLING_COST

constexpr size_t bb::thread_heuristics::GE_DOUBLING_COST = 194
constexpr

Definition at line 142 of file thread.hpp.

◆ SM_COST

constexpr size_t bb::thread_heuristics::SM_COST = 50000
constexpr

Definition at line 144 of file thread.hpp.