MayaFlux 1.0.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 261 of file StandardSorter.hpp.

262 {
263 auto old_algorithm = m_algorithm;
264 m_algorithm = SortingAlgorithm::PARALLEL;
265 auto result = sort_copy(input);
266 m_algorithm = old_algorithm;
267 result.metadata["sort_type"] = "parallel";
268 return result;
269 }
Core::GlobalInputConfig input
Definition Config.cpp:42
output_type sort_copy(const input_type &input)
Copy-based sorting (preserves input)

References input, MayaFlux::Yantra::StandardSorter< InputType, OutputType >::m_algorithm, and MayaFlux::Yantra::StandardSorter< InputType, OutputType >::sort_copy().

Referenced by MayaFlux::Yantra::StandardSorter< InputType, OutputType >::sort_implementation().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: