Fermat
Public Methods | List of all members
cugar::for_each_enactor< system_tag > Struct Template Reference

Detailed description

template<typename system_tag>
struct cugar::for_each_enactor< system_tag >

A stateful for_each enactor class that optimizes the kernel launches at run-time, using per-launch statistics

#include <primitives.h>

Public Methods

template<typename Iterator , typename Functor >
void operator() (const uint64 n, const Iterator in, Functor functor)
 
template<typename Functor >
void operator() (const uint64 n, Functor functor)
 

Member Function Documentation

◆ operator()() [1/2]

template<typename system_tag >
template<typename Iterator , typename Functor >
void cugar::for_each_enactor< system_tag >::operator() ( const uint64  n,
const Iterator  in,
Functor  functor 
)
inline

enact the for_each

◆ operator()() [2/2]

template<typename system_tag >
template<typename Functor >
void cugar::for_each_enactor< system_tag >::operator() ( const uint64  n,
Functor  functor 
)
inline

enact the for_each


The documentation for this struct was generated from the following file: