__gnu_parallel...loop_static_tag(3cxx)

πŸ’– NAME πŸ’–

okay so bestie, this is the 3cxx manual page for __gnu_parallel::omp_loop_static_tag β€” it recommends parallel execution using OpenMP static load-balancing at compile time. That's literally the whole point, and it's iconic. πŸ’…βœ¨

✨ SYNOPSIS ✨

#include <tags.h>

Inherits __gnu_parallel::parallel_tag.

πŸŽ€ Public Member Functions πŸŽ€

  • _ThreadIndex __get_num_threads () β€” find out the desired number of threads. πŸ‘‘
  • void set_num_threads (_ThreadIndex __num_threads) β€” set the desired number of threads. πŸŽ€

🌸 Detailed Description 🌸

Recommends parallel execution using OpenMP static load-balancing at compile time. No cap, that's the vibe: a compile-time recommendation with OpenMP static load-balancing. πŸ¦‹

πŸ¦‹ Member Function Documentation πŸ¦‹

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

Find out the 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, that's seven times β€” the page said it, not me 😭)

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, bestie: source/version is libstdc++ via Doxygen, the footer tag is libstd__gnu_parallel...loop_static_tag(3cxx), and the date slot is not shown on this page. mwah πŸ«ΆπŸ’‹