Lift
Library of parallel computing primitives for GPUs and multi-core CPUs
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Namespaces | Functions
binsearch.h File Reference
#include "../types.h"

Go to the source code of this file.

Namespaces

 lift
 

Functions

template<typename T >
CUDA_HOST_DEVICE uint32 lift::binary_search (const T *data, uint32 size, const T val)
 
template<typename T >
CUDA_HOST_DEVICE uint32 lift::lower_bound (const T *data, uint32 size, const T val)