NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
merge_sort.h File Reference
#include <nvbio/basic/types.h>
#include <iterator>

Go to the source code of this file.

Namespaces

 nvbio
 Define a vector_view POD type and plain_view() for std::vector.
 
 nvbio::mergesort
 

Functions

template<typename Iterator , typename Compare >
NVBIO_HOST_DEVICE void nvbio::mergesort::merge (Iterator A, uint32 int_left, uint32 int_right, uint32 int_end, Iterator B, const Compare cmp)
 
template<typename Iterator , typename Compare >
NVBIO_HOST_DEVICE bool nvbio::merge_sort (uint32 n, Iterator A, Iterator B, const Compare cmp)