3#include "barretenberg/plonk/proof_system/proving_key/proving_key.hpp"
4#include "barretenberg/plonk/transcript/transcript_wrappers.hpp"
14 enum WorkType { FFT, SMALL_FFT, IFFT, SCALAR_MULTIPLICATION };
17 uint32_t num_scalar_multiplications;
24 mutable std::shared_ptr<fr[]> mul_scalars;
31 std::shared_ptr<fr[]> data;
44 std::shared_ptr<fr[]> get_scalar_multiplication_data(
const size_t work_item_number)
const;
46 size_t get_scalar_multiplication_size(
const size_t work_item_number)
const;
48 std::shared_ptr<fr[]> get_ifft_data(
const size_t work_item_number)
const;
50 void put_ifft_data(std::shared_ptr<
fr[]> result,
const size_t work_item_number);
54 void put_fft_data(std::shared_ptr<
fr[]> result,
const size_t work_item_number);
64 std::vector<work_item> get_queue()
const;
69 std::vector<work_item> work_item_queue;
Definition: affine_element.hpp:11
Definition: work_queue.hpp:11
Definition: transcript_wrappers.hpp:13
constexpr_utils defines some helper methods that perform some stl-equivalent operations but in a cons...
Definition: constexpr_utils.hpp:16
Definition: widget.bench.cpp:13
Definition: proving_key.hpp:38
Definition: work_queue.hpp:16
Definition: work_queue.hpp:22