NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Methods | List of all members
nvbio::for_each_enactor< device_tag > Struct Template Reference

Detailed description

template<>
struct nvbio::for_each_enactor< device_tag >

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

Definition at line 397 of file primitives.h.

#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

constructor

Definition at line 401 of file primitives.h.

Member Function Documentation

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

enact the for_each

Definition at line 1443 of file primitives_inl.h.

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

enact the for_each

Definition at line 418 of file primitives.h.


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