__GNU_PARALLEL::_PMWMSSORTINGDATA(3cxx)

🌸 NAME 🌸

__gnu_parallel::_PMWMSSortingData< _RAIter > β€” data accessed by all threads. This is the 3cxx manual page for it, bestie, and it's literally all about the shared data vibe. πŸ’–


✨ SYNOPSIS ✨

#include <multiway_mergesort.h>

πŸŽ€ Public Types πŸŽ€

  • typedef _TraitsType::difference_type _DifferenceType β€” the difference type pulled from _TraitsType, slay.
  • typedef std::iterator_traits< _RAIter > _TraitsType β€” the traits type, no cap.
  • typedef _TraitsType::value_type _ValueType β€” the value type coming from _TraitsType, periodt.

πŸ¦‹ Public Attributes πŸ¦‹

  • _ThreadIndex _M_num_threads β€” number of threads involved.
  • _DifferenceType * _M_offsets β€” offsets to add to the found positions.
  • std::vector< _Piece< _DifferenceType > > * _M_pieces β€” pieces of data to merge [thread][__sequence].
  • _ValueType * _M_samples β€” samples.
  • _RAIter _M_source β€” input __begin.
  • _DifferenceType * _M_starts β€” start indices, per thread.
  • _ValueType ** _M_temporary β€” storage in which to sort.

🧚 Detailed Description 🧚

Okay so it's a template struct, and the whole point is data accessed by all threads. The original signature is serving this exact energy, stray quote and all:

template<typename _RAIter> struct __gnu_parallel::_PMWMSSortingData< _RAIter >"Data accessed by all threads.

And just so we're clear: PMWMS = parallel multiway mergesort. IYKYK πŸ’…


πŸ’œ Member Data Documentation πŸ’œ

_M_num_threads

template<typename _RAIter >
_ThreadIndex __gnu_parallel::_PMWMSSortingData< _RAIter >::_M_num_threads

Number of threads involved.

Referenced by __gnu_parallel::parallel_sort_mwms(), and __gnu_parallel::parallel_sort_mwms_pu().

_M_offsets

template<typename _RAIter >
_DifferenceType* __gnu_parallel::_PMWMSSortingData< _RAIter >::_M_offsets

Offsets to add to the found positions.

Referenced by __gnu_parallel::parallel_sort_mwms().

_M_pieces

template<typename _RAIter >
std::vector<_Piece<_DifferenceType> >* __gnu_parallel::_PMWMSSortingData< _RAIter >::_M_pieces

Pieces of data to merge [thread][__sequence].

Referenced by __gnu_parallel::parallel_sort_mwms(), and __gnu_parallel::parallel_sort_mwms_pu().

_M_samples

template<typename _RAIter >
_ValueType* __gnu_parallel::_PMWMSSortingData< _RAIter >::_M_samples

Samples.

Referenced by __gnu_parallel::__determine_samples(), and __gnu_parallel::parallel_sort_mwms().

_M_source

template<typename _RAIter >
_RAIter __gnu_parallel::_PMWMSSortingData< _RAIter >::_M_source

Input __begin.

Referenced by __gnu_parallel::__determine_samples(), __gnu_parallel::parallel_sort_mwms(), and __gnu_parallel::parallel_sort_mwms_pu().

_M_starts

template<typename _RAIter >
_DifferenceType* __gnu_parallel::_PMWMSSortingData< _RAIter >::_M_starts

Start indices, per thread.

Referenced by __gnu_parallel::__determine_samples(), __gnu_parallel::parallel_sort_mwms(), and __gnu_parallel::parallel_sort_mwms_pu().

_M_temporary

template<typename _RAIter >
_ValueType** __gnu_parallel::_PMWMSSortingData< _RAIter >::_M_temporary

Storage in which to sort.

Referenced by __gnu_parallel::parallel_sort_mwms(), and __gnu_parallel::parallel_sort_mwms_pu().


πŸ‘‘ Author πŸ‘‘

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


XOXO from libstdc++ β€” auto-generated by Doxygen from the source code. The footer doesn't show a date, so we're calling it timeless βœ¨πŸ’–πŸ«Ά