__gnu_parallel::sampling_tag(3cxx)
π NAME
__gnu_parallel::sampling_tag β forces parallel merging with exact splitting, at compile time.
Okay bestie, this is the libstdc++ manual page, section 3cxx, for __gnu_parallel::sampling_tag. We are so in the right place. π«Ά
β¨ SYNOPSIS
#include <tags.h>
Inherits __gnu_parallel::parallel_tag β itβs giving family tree energy. πΈ
πΈ Public Member Functions
sampling_tag (_ThreadIndex __num_threads)β thesampling_tagmember function signature, with parameter_ThreadIndex __num_threads._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
Forces parallel merging with exact splitting, at compile time.
Thatβs the whole vibe: compile-time forcing of parallel merging with exact splitting. Iconic. π
π¦ 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().
Yes bestie, thatβs seven whole __parallel_sort() references β not me being dramatic, itβs literally in the docs. ππ₯
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.
Cute sign-off time π: this page is from libstdc++, for __gnu_parallel::sampling_tag(3cxx), and it was generated automatically by Doxygen from the source code. Thereβs no date printed on this one, bestie β thatβs the footer tea βπ.
π¦ where this page comes from
- debian trixie: libstdc++-12-doc 12.4.0-5
- debian trixie: libstdc++-13-doc 13.3.0-16
- debian trixie: libstdc++-14-doc 14.2.0-19
- ubuntu noble: libstdc++-10-doc 10.5.0-4ubuntu2
- ubuntu noble: libstdc++-10-doc 10.5.0-4ubuntu2.1
- ubuntu noble: libstdc++-11-doc 11.4.0-9ubuntu1
- ubuntu noble: libstdc++-11-doc 11.5.0-1ubuntu1~24.04.1
- ubuntu noble: libstdc++-12-doc 12.3.0-17ubuntu1
- ubuntu noble: libstdc++-12-doc 12.4.0-2ubuntu1~24.04.1
- ubuntu noble: libstdc++-13-doc 13.2.0-23ubuntu4
- ubuntu noble: libstdc++-13-doc 13.3.0-6ubuntu2~24.04.1
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- ubuntu noble: libstdc++-14-doc 14.2.0-4ubuntu2~24.04.1
- ubuntu questing: libstdc++-11-doc 11.5.0-7ubuntu1
- ubuntu questing: libstdc++-11-doc 11.5.0-7ubuntu1.1
- ubuntu questing: libstdc++-12-doc 12.5.0-6ubuntu1
- ubuntu questing: libstdc++-13-doc 13.4.0-4ubuntu1
- ubuntu questing: libstdc++-14-doc 14.3.0-8ubuntu1
- ubuntu questing: libstdc++-15-doc 15.2.0-4ubuntu4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms