|
NVBIO
|
Functions | |
| template<typename Iterator , typename Compare > | |
| NVBIO_HOST_DEVICE void | merge (Iterator A, uint32 int_left, uint32 int_right, uint32 int_end, Iterator B, const Compare cmp) |
| NVBIO_HOST_DEVICE void nvbio::mergesort::merge | ( | Iterator | A, |
| uint32 | int_left, | ||
| uint32 | int_right, | ||
| uint32 | int_end, | ||
| Iterator | B, | ||
| const Compare | cmp | ||
| ) |
merge two contiguous sorted sequences into a single sorted output sequence. NOTE: the output buffer should not overlap the input buffer.
| A | input buffer |
| int_left | beginning of the first interval |
| int_right | beginning of the second interval |
| int_end | end of the second interval |
| B | output buffer |
Definition at line 48 of file merge_sort.h.
1.8.4