Interface Documentation
Version: invalid
Classes | Namespaces | Functions
kernel_interface.hh File Reference
#include <kokkos.h>
#include <string>
Include dependency graph for kernel_interface.hh:

Go to the source code of this file.

Classes

struct  flecsi::exec::forall< ITERATOR >
 
struct  flecsi::exec::forall< ITERATOR >::functor< LAMBDA >
 

Namespaces

 flecsi
 

Functions

template<typename ITERATOR , typename LAMBDA >
 flecsi::exec::parallel_for (ITERATOR const iterator, LAMBDA const lambda, std::string const &name="")
 

Function Documentation

◆ parallel_for()

template<typename ITERATOR , typename LAMBDA >
flecsi::exec::parallel_for ( ITERATOR const  iterator,
LAMBDA const  lambda,
std::string const &  name = "" 
)

This function is a wrapper for Kokkos::parallel_for that has been adapted to work with FleCSI's topology iterator types. In particular, this function invokes a map from the normal kernel index space to the FleCSI index space, which may require indirection.