Scroll to navigation

__gnu_parallel::balanced_tag(3cxx) __gnu_parallel::balanced_tag(3cxx)

NAME

__gnu_parallel::balanced_tag - Recommends parallel execution using dynamic load-balancing at compile time.

SYNOPSIS

#include <tags.h>

Inherits __gnu_parallel::parallel_tag.

Public Member Functions


_ThreadIndex __get_num_threads ()
Find out desired number of threads. void set_num_threads (_ThreadIndex __num_threads)
Set the desired number of threads.

Detailed Description

Recommends parallel execution using dynamic load-balancing at compile time.

Member Function Documentation

_ThreadIndex __gnu_parallel::parallel_tag::__get_num_threads () [inline], [inherited]

Find out desired number of threads.

Returns

Desired number of threads.

Referenced by __gnu_parallel::__parallel_sort(), __gnu_parallel::__parallel_sort(), __gnu_parallel::__parallel_sort(), __gnu_parallel::__parallel_sort(), __gnu_parallel::__parallel_sort(), __gnu_parallel::__parallel_sort(), and __gnu_parallel::__parallel_sort().

void __gnu_parallel::parallel_tag::set_num_threads (_ThreadIndex __num_threads) [inline], [inherited]

Set the desired number of threads.

Parameters

__num_threads Desired number of threads.

Author

Generated automatically by Doxygen for libstdc++ from the source code.

libstdc++