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

Detailed description

template<>
struct cugar::for_each_enactor< device_tag >

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

#include <primitives.h>

Public Methods

 for_each_enactor ()
 
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)
 

Constructor & Destructor Documentation

◆ for_each_enactor()

constructor

Member Function Documentation

◆ operator()() [1/2]

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

enact the for_each

◆ operator()() [2/2]

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

enact the for_each


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