Barretenberg
The ZK-SNARK library at the core of Aztec
|
Go to the source code of this file.
Namespaces | |
namespace | bb |
Entry point for Barretenberg command-line interface. | |
Functions | |
void | bb::parallel_for_omp (size_t num_iterations, const std::function< void(size_t)> &func) |
void | bb::parallel_for_moody (size_t num_iterations, const std::function< void(size_t)> &func) |
void | bb::parallel_for_spawning (size_t num_iterations, const std::function< void(size_t)> &func) |
void | bb::parallel_for_queued (size_t num_iterations, const std::function< void(size_t)> &func) |
void | bb::parallel_for_atomic_pool (size_t num_iterations, const std::function< void(size_t)> &func) |
void | bb::parallel_for_mutex_pool (size_t num_iterations, const std::function< void(size_t)> &func) |
void | bb::parallel_for (size_t num_iterations, const std::function< void(size_t)> &func) |
void | bb::parallel_for_range (size_t num_points, const std::function< void(size_t, size_t)> &func, size_t no_multhreading_if_less_or_equal) |
Split a loop into several loops running in parallel. | |
void | bb::parallel_for_heuristic (size_t num_points, const std::function< void(size_t, size_t, size_t)> &func, size_t heuristic_cost) |
Split a loop into several loops running in parallel based on operations in 1 iteration. | |
MultithreadData | bb::calculate_thread_data (size_t num_iterations, size_t min_iterations_per_thread=DEFAULT_MIN_ITERS_PER_THREAD) |
Calculates number of threads and index bounds for each thread. | |
size_t | bb::calculate_num_threads (size_t num_iterations, size_t min_iterations_per_thread) |
calculates number of threads to create based on minimum iterations per thread | |
size_t | bb::calculate_num_threads_pow2 (size_t num_iterations, size_t min_iterations_per_thread) |
calculates number of threads to create based on minimum iterations per thread, guaranteed power of 2 | |