Is there any CUDA library that performs comparison/search opera开发者_运维知识库tion.
CUDA is an API for creating libraries that run on the NVidia GPU. Consequently, any operations that are to be performed must be custom programmed. There are not a wide range of open-source libraries available.
Programmers use 'C for CUDA' (C with NVIDIA extensions), compiled through a PathScale Open64 C compiler, to code algorithms for execution on the GPU.
http://en.wikipedia.org/wiki/CUDA
You could look at Thrust, which includes a binary_search operation and is very easy to use.
精彩评论