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)
inlineprivate

Parallel sorting.

Definition at line 219 of file StandardSorter.hpp.

220 {
221 auto old_algorithm = m_algorithm;
223 auto result = sort_copy(input);
224 m_algorithm = old_algorithm;
225 result.metadata["sort_type"] = "parallel";
226 return result;
227 }
output_type sort_copy(const input_type &input)
Copy-based sorting (preserves input)
@ PARALLEL
Parallel sorting (std::execution::par_unseq)