The indices that order one channel, computed on the GPU in the configured direction.
- Returns
- result[i] is the index in values of the i-th value in order. For the bidirectional order, result[i] is the value placed at position i.
Definition at line 93 of file BitonicSorter.hpp.
94 {
102 }
103
107
111
120 }
126 };
128 });
129
131
137 }
139
145 }
147 }
149 }
WordPairExecutionContext & context()
The context, built on first use so a sorter can be created before any device.
static constexpr uint32_t k_indices_binding
static constexpr uint32_t k_keys_binding
Sorts each numeric channel on the GPU, exactly, without fp64.
const Config & config() const
The stored config struct of type Config, or its defaults when none was set.
output_type execute(const input_type &input)
OpUnit interface - operations can act as units in dependency graphs.
std::vector< size_t > mountain_positions(size_t count)
Target position of each rank in a mountain arrangement of count values.
References MayaFlux::Journal::BufferProcessing, MayaFlux::Yantra::ComputeOperation< InputType, OutputType >::config(), context(), k_indices_binding, k_keys_binding, MayaFlux::Kinesis::Discrete::mountain_positions(), and MayaFlux::Journal::Yantra.
Referenced by arrange(), and MayaFlux::Yantra::RegionKeySorter::gpu_order().