stdgpu/algorithm.h File Reference#
stdgpu Latest
Efficient STL-like Data Structures on the GPU
|
algorithm.h File Reference
Go to the source code of this file.
Functions | |
template<class T > | |
STDGPU_HOST_DEVICE const T & | stdgpu::clamp (const T &v, const T &lower, const T &upper) |
template<typename ExecutionPolicy , typename InputIt , typename OutputIt , STDGPU_DETAIL_OVERLOAD_IF(is_execution_policy_v< remove_cvref_t< ExecutionPolicy > >) > | |
OutputIt | stdgpu::copy (ExecutionPolicy &&policy, InputIt begin, InputIt end, OutputIt output_begin) |
template<typename ExecutionPolicy , typename InputIt , typename Size , typename OutputIt , STDGPU_DETAIL_OVERLOAD_IF(is_execution_policy_v< remove_cvref_t< ExecutionPolicy > >) > | |
OutputIt | stdgpu::copy_n (ExecutionPolicy &&policy, InputIt begin, Size n, OutputIt output_begin) |
template<typename ExecutionPolicy , typename Iterator , typename T , STDGPU_DETAIL_OVERLOAD_IF(is_execution_policy_v< remove_cvref_t< ExecutionPolicy > >) > | |
void | stdgpu::fill (ExecutionPolicy &&policy, Iterator begin, Iterator end, const T &value) |
template<typename ExecutionPolicy , typename Iterator , typename Size , typename T , STDGPU_DETAIL_OVERLOAD_IF(is_execution_policy_v< remove_cvref_t< ExecutionPolicy > >) > | |
Iterator | stdgpu::fill_n (ExecutionPolicy &&policy, Iterator begin, Size n, const T &value) |
template<typename IndexType , typename ExecutionPolicy , typename UnaryFunction , STDGPU_DETAIL_OVERLOAD_IF(is_execution_policy_v< remove_cvref_t< ExecutionPolicy > >) > | |
void | stdgpu::for_each_index (ExecutionPolicy &&policy, IndexType size, UnaryFunction f) |
template<class T > | |
constexpr STDGPU_HOST_DEVICE const T & | stdgpu::max (const T &a, const T &b) |
template<class T > | |
constexpr STDGPU_HOST_DEVICE const T & | stdgpu::min (const T &a, const T &b) |
Generated by 1.9.6