Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
vectorized_for.hpp File Reference
#include "barretenberg/common/compiler_hints.hpp"
#include "barretenberg/ecc/fields/vector_field.hpp"
#include <array>
#include <cstddef>
#include <type_traits>

Go to the source code of this file.

Classes

struct  bb::ScalarIndex
 
struct  bb::VectorIndex< N >
 
struct  bb::ContiguousVectorIndex< N >
 

Namespaces

namespace  bb
 Entry point for Barretenberg command-line interface.
 

Functions

constexpr ScalarIndex bb::shift (ScalarIndex ctx, size_t d)
 
template<size_t N>
constexpr VectorIndex< Nbb::shift (VectorIndex< N > ctx, size_t d)
 
template<size_t N>
constexpr ContiguousVectorIndex< Nbb::shift (ContiguousVectorIndex< N > ctx, size_t d)
 
template<size_t N, typename Fr , typename K >
void bb::vectorized_for (size_t start, size_t end, K &&kernel)
 
template<size_t N, typename Fr , typename P , typename K >
void bb::vectorized_for_if (size_t start, size_t end, P &&predicate, K &&kernel)
 

Variables

template<typename Fr >
constexpr bool bb::simd_supported_v = simd_available_v<typename Fr::Params>
 
constexpr size_t bb::VECTOR_FIELD_WIDTH = 5