Lift
Library of parallel computing primitives for GPUs and multi-core CPUs
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Namespaces | Functions
for_each.h File Reference
#include <algorithm>
#include "../../types.h"
#include "launch_parameters.h"

Go to the source code of this file.

Namespaces

 lift
 

Functions

template<typename InputIterator , typename Function , typename index_type >
__global__ void lift::for_each_kernel (InputIterator input, size_t length, Function func)
 
template<typename InputIterator , typename Function >
void lift::for_each (InputIterator input, size_t length, Function func, int2 launch_params={0, 0})
 
template<typename InputIterator , typename Function >
int2 lift::for_each_launch_parameters (InputIterator input, size_t length, Function func)