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

cuda find algorithms include file More...

Go to the source code of this file.

Namespaces

namespace  tf
 taskflow namespace
 

Functions

template<typename P , typename I , typename U >
void tf::cuda_find_if (P &&p, I first, I last, unsigned *idx, U op)
 finds the index of the first element that satisfies the given criteria
 
template<typename P , typename T >
unsigned tf::cuda_min_element_buffer_size (unsigned count)
 queries the buffer size in bytes needed to call tf::cuda_min_element
 
template<typename P , typename I , typename O >
void tf::cuda_min_element (P &&p, I first, I last, unsigned *idx, O op, void *buf)
 finds the index of the minimum element in a range
 
template<typename P , typename T >
unsigned tf::cuda_max_element_buffer_size (unsigned count)
 queries the buffer size in bytes needed to call tf::cuda_max_element
 
template<typename P , typename I , typename O >
void tf::cuda_max_element (P &&p, I first, I last, unsigned *idx, O op, void *buf)
 finds the index of the maximum element in a range
 

Detailed Description

cuda find algorithms include file