stdgpu/numeric.h Source File#
stdgpu Latest
Efficient STL-like Data Structures on the GPU
|
numeric.h
Go to the documentation of this file.
92transform_reduce_index(ExecutionPolicy&& policy, IndexType size, T init, BinaryFunction reduce, UnaryFunction f);
index64_t size(T *array)
Finds the size (number of elements) of the given dynamically allocated array.
T transform_reduce_index(ExecutionPolicy &&policy, IndexType size, T init, BinaryFunction reduce, UnaryFunction f)
Calls the given unary function with an index from the range [0, size) and performs a reduction afterw...
void iota(ExecutionPolicy &&policy, Iterator begin, Iterator end, T value)
Writes ascending values {values + i} to the i-th position of the given range.
Generated by 1.9.6