MayaFlux
0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
◆
sort_parallel()
template<ComputeData InputType = Kakshya::DataVariant, ComputeData OutputType = InputType>
output_type
MayaFlux::Yantra::StandardSorter
< InputType, OutputType >::sort_parallel
(
const
input_type
&
input
)
inline
private
Parallel
sorting.
Definition at line
219
of file
StandardSorter.hpp
.
220
{
221
auto
old_algorithm =
m_algorithm
;
222
m_algorithm
=
SortingAlgorithm::PARALLEL
;
223
auto
result =
sort_copy
(input);
224
m_algorithm
= old_algorithm;
225
result.metadata[
"sort_type"
] =
"parallel"
;
226
return
result;
227
}
MayaFlux::Yantra::StandardSorter::m_algorithm
SortingAlgorithm m_algorithm
Definition
StandardSorter.hpp:140
MayaFlux::Yantra::StandardSorter::sort_copy
output_type sort_copy(const input_type &input)
Copy-based sorting (preserves input)
Definition
StandardSorter.hpp:146
MayaFlux::Yantra::SortingAlgorithm::PARALLEL
@ PARALLEL
Parallel sorting (std::execution::par_unseq)
MayaFlux
Yantra
StandardSorter
Generated by
1.9.8