Taskflow  3.2.0-Master-Branch
Loading...
Searching...
No Matches
sort.hpp File Reference

CUDA sort algorithm include file. More...

Go to the source code of this file.

Namespaces

namespace  tf
 taskflow namespace
 

Functions

template<typename P , typename K , typename V = cudaEmpty>
unsigned tf::cuda_sort_buffer_size (unsigned count)
 queries the buffer size in bytes needed to call sort kernels for the given number of elements
 
template<typename P , typename K_it , typename V_it , typename C >
void tf::cuda_sort_by_key (P &&p, K_it k_first, K_it k_last, V_it v_first, C comp, void *buf)
 performs asynchronous key-value sort on a range of items
 
template<typename P , typename K_it , typename C >
void tf::cuda_sort (P &&p, K_it k_first, K_it k_last, C comp, void *buf)
 performs asynchronous key-only sort on a range of items
 

Detailed Description

CUDA sort algorithm include file.