libstdc++
|
class _Settings Run-time settings for the parallel mode including all tunable parameters.
Definition at line 123 of file settings.h.
static const _Settings& __gnu_parallel::_Settings::get | ( | ) | throw () [static] |
Get the global settings.
Referenced by __gnu_parallel::__find_template(), __gnu_parallel::__for_each_template_random_access_workstealing(), __gnu_parallel::__parallel_nth_element(), __gnu_parallel::__parallel_partial_sum(), __gnu_parallel::__parallel_partial_sum_linear(), __gnu_parallel::__parallel_partition(), __gnu_parallel::__parallel_random_shuffle_drs(), __gnu_parallel::__parallel_sort(), __gnu_parallel::__parallel_sort_qs_conquer(), __gnu_parallel::__qsb_local_sort_with_helping(), __gnu_parallel::__sequential_random_shuffle(), __gnu_parallel::multiway_merge_sampling_splitting(), __gnu_parallel::parallel_multiway_merge(), __gnu_parallel::parallel_sort_mwms(), and __gnu_parallel::parallel_sort_mwms_pu().
static void __gnu_parallel::_Settings::set | ( | _Settings & | ) | throw () [static] |
Set the global settings.
Minimal input size for accumulate.
Definition at line 139 of file settings.h.
Minimal input size for adjacent_difference.
Definition at line 142 of file settings.h.
unsigned int __gnu_parallel::_Settings::cache_line_size |
Overestimation of cache line size. Used to avoid false sharing, i.e. elements of different threads are at least this amount apart.
Definition at line 265 of file settings.h.
Referenced by __gnu_parallel::__for_each_template_random_access_workstealing().
Minimal input size for count and count_if.
Definition at line 145 of file settings.h.
Minimal input size for fill.
Definition at line 148 of file settings.h.
Block size increase factor for find.
Definition at line 151 of file settings.h.
Initial block size for find.
Definition at line 154 of file settings.h.
Referenced by __gnu_parallel::__find_template().
Maximal block size for find.
Definition at line 157 of file settings.h.
Block size scale-down factor with respect to current position.
Definition at line 276 of file settings.h.
Referenced by __gnu_parallel::__find_template().
Start with looking for this many elements sequentially, for find.
Definition at line 160 of file settings.h.
Referenced by __gnu_parallel::__find_template().
Minimal input size for for_each.
Definition at line 163 of file settings.h.
Minimal input size for generate.
Definition at line 166 of file settings.h.
unsigned long long __gnu_parallel::_Settings::L1_cache_size |
size of the L1 cache in bytes (underestimation).
Definition at line 254 of file settings.h.
unsigned long long __gnu_parallel::_Settings::L2_cache_size |
size of the L2 cache in bytes (underestimation).
Definition at line 257 of file settings.h.
Referenced by __gnu_parallel::__parallel_random_shuffle_drs(), and __gnu_parallel::__sequential_random_shuffle().
Minimal input size for max_element.
Definition at line 169 of file settings.h.
Minimal input size for merge.
Definition at line 172 of file settings.h.
unsigned int __gnu_parallel::_Settings::merge_oversampling |
Oversampling factor for merge.
Definition at line 175 of file settings.h.
Referenced by __gnu_parallel::multiway_merge_sampling_splitting(), and __gnu_parallel::parallel_multiway_merge().
Minimal input size for min_element.
Definition at line 178 of file settings.h.
Oversampling factor for multiway_merge.
Definition at line 184 of file settings.h.
Minimal input size for multiway_merge.
Definition at line 181 of file settings.h.
Oversampling factor for multiway_merge.
Definition at line 187 of file settings.h.
Minimal input size for nth_element.
Definition at line 190 of file settings.h.
Referenced by __gnu_parallel::__parallel_nth_element().
Minimal input size for partial_sort.
Definition at line 203 of file settings.h.
Ratio for partial_sum. Assume "sum and write result" to be this factor slower than just "sum".
Definition at line 207 of file settings.h.
Referenced by __gnu_parallel::__parallel_partial_sum_linear().
unsigned int __gnu_parallel::_Settings::partial_sum_minimal_n |
Minimal input size for partial_sum.
Definition at line 210 of file settings.h.
Chunk size for partition, relative to input size. If > 0.0, this value overrides partition_chunk_size.
Definition at line 197 of file settings.h.
Referenced by __gnu_parallel::__parallel_partition().
Chunk size for partition.
Definition at line 193 of file settings.h.
Referenced by __gnu_parallel::__parallel_partition().
Minimal input size for partition.
Definition at line 200 of file settings.h.
Referenced by __gnu_parallel::__parallel_nth_element().
The number of stolen ranges in load-balanced quicksort.
Definition at line 270 of file settings.h.
unsigned int __gnu_parallel::_Settings::random_shuffle_minimal_n |
Minimal input size for random_shuffle.
Definition at line 213 of file settings.h.
Minimal input size for replace and replace_if.
Definition at line 216 of file settings.h.
Minimal input size for search and search_n.
Definition at line 273 of file settings.h.
Minimal input size for set_difference.
Definition at line 219 of file settings.h.
Minimal input size for set_intersection.
Definition at line 222 of file settings.h.
Minimal input size for set_symmetric_difference.
Definition at line 225 of file settings.h.
Minimal input size for set_union.
Definition at line 228 of file settings.h.
Minimal input size for parallel sorting.
Definition at line 231 of file settings.h.
unsigned int __gnu_parallel::_Settings::sort_mwms_oversampling |
Oversampling factor for parallel std::sort (MWMS).
Definition at line 234 of file settings.h.
Referenced by __gnu_parallel::parallel_sort_mwms(), and __gnu_parallel::parallel_sort_mwms_pu().
Such many samples to take to find a good pivot (quicksort).
Definition at line 237 of file settings.h.
Maximal subsequence __length to switch to unbalanced __base case. Applies to std::sort with dynamically load-balanced quicksort.
Definition at line 241 of file settings.h.
Referenced by __gnu_parallel::__qsb_local_sort_with_helping().
unsigned int __gnu_parallel::_Settings::TLB_size |
size of the Translation Lookaside Buffer (underestimation).
Definition at line 260 of file settings.h.
Referenced by __gnu_parallel::__parallel_random_shuffle_drs(), and __gnu_parallel::__sequential_random_shuffle().
Minimal input size for parallel std::transform.
Definition at line 244 of file settings.h.
Minimal input size for unique_copy.
Definition at line 247 of file settings.h.