Specify chunk size for do_all_coupled & do_all_choice at compile time or at runtime.
More...
template<unsigned SZ = 32>
struct galois::chunk_size< SZ >
Specify chunk size for do_all_coupled & do_all_choice at compile time or at runtime.
For compile time, use the template argument, e.g., galois::chunk_size<16> () Additionally, user may provide a runtime argument, e.g, galois::chunk_size<16> (8)
Currently, only do_all_coupled can take advantage of the runtime argument. TODO: allow runtime provision/tuning of chunk_size in other loop executors
chunk size is clamped to within [chunk_size_tag::MIN, chunk_size_tag::MAX]