Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
iterate_over_domain.hpp File Reference

Go to the source code of this file.

Macros

#define ITERATE_OVER_DOMAIN_START(domain)
 
#define ITERATE_OVER_DOMAIN_END
 

Macro Definition Documentation

◆ ITERATE_OVER_DOMAIN_END

#define ITERATE_OVER_DOMAIN_END
Value:
} \
});

Definition at line 44 of file iterate_over_domain.hpp.

◆ ITERATE_OVER_DOMAIN_START

#define ITERATE_OVER_DOMAIN_START (   domain)
Value:
parallel_for(domain.num_threads, [&](size_t j) { \
const size_t internal_bound_start = j * domain.thread_size; \
const size_t internal_bound_end = (j + 1) * domain.thread_size; \
for (size_t i = internal_bound_start; i < internal_bound_end; ++i) {

Definition at line 38 of file iterate_over_domain.hpp.