__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) β€” the sampling_tag member 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 β˜•πŸ’–.