Itoyori  v0.0.1
ityr::global_vector_options Struct Reference

Options for ityr::global_vector. More...

#include <global_vector.hpp>

Public Member Functions

constexpr global_vector_options ()
 
constexpr global_vector_options (bool collective)
 
constexpr global_vector_options (bool collective, int cutoff_count)
 
constexpr global_vector_options (bool collective, bool parallel_construct, bool parallel_destruct, int cutoff_count=default_cutoff_count)
 

Public Attributes

bool collective: 1
 A collective global vector is initialized if true. More...
 
bool parallel_construct: 1
 Construction of vector elements is parallelized if true. More...
 
bool parallel_destruct: 1
 Destruction of vector elements is parallelized if true. More...
 
int cutoff_count: 29
 The number of elements for leaf tasks to stop parallel recursion in construction and destruction. More...
 

Static Public Attributes

constexpr static int default_cutoff_count = 1024
 

Detailed Description

Constructor & Destructor Documentation

◆ global_vector_options() [1/4]

constexpr ityr::global_vector_options::global_vector_options ( )
inlineconstexpr

◆ global_vector_options() [2/4]

constexpr ityr::global_vector_options::global_vector_options ( bool  collective)
inlineexplicitconstexpr

◆ global_vector_options() [3/4]

constexpr ityr::global_vector_options::global_vector_options ( bool  collective,
int  cutoff_count 
)
inlineconstexpr

◆ global_vector_options() [4/4]

constexpr ityr::global_vector_options::global_vector_options ( bool  collective,
bool  parallel_construct,
bool  parallel_destruct,
int  cutoff_count = default_cutoff_count 
)
inlineconstexpr

Member Data Documentation

◆ collective

bool ityr::global_vector_options::collective

A collective global vector is initialized if true.

◆ cutoff_count

int ityr::global_vector_options::cutoff_count

The number of elements for leaf tasks to stop parallel recursion in construction and destruction.

◆ default_cutoff_count

constexpr static int ityr::global_vector_options::default_cutoff_count = 1024
staticconstexpr

◆ parallel_construct

bool ityr::global_vector_options::parallel_construct

Construction of vector elements is parallelized if true.

◆ parallel_destruct

bool ityr::global_vector_options::parallel_destruct

Destruction of vector elements is parallelized if true.


The documentation for this struct was generated from the following file: