cub::LowerBound
Defined in cub/thread/thread_search.cuh
-
template<typename InputIteratorT, typename OffsetT, typename T>
OffsetT cub::LowerBound(InputIteratorT input, OffsetT num_items, T val) Returns the offset of the first value within
input
which does not compare less thanval
.- Parameters
input – [in] Input sequence
num_items – [in] Input sequence length
val – [in] Search key