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 155 of file thread.hpp.

◆ FF_ADDITION_COST

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

Definition at line 141 of file thread.hpp.

◆ FF_COPY_COST

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

Definition at line 153 of file thread.hpp.

◆ FF_INVERSION_COST

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

Definition at line 145 of file thread.hpp.

◆ FF_MULTIPLICATION_COST

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

Definition at line 143 of file thread.hpp.

◆ GE_ADDITION_COST

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

Definition at line 147 of file thread.hpp.

◆ GE_DOUBLING_COST

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

Definition at line 149 of file thread.hpp.

◆ SM_COST

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

Definition at line 151 of file thread.hpp.