#include <kokkos.h>
#include <string>
Go to the source code of this file.
|
template<typename ITERATOR , typename LAMBDA > |
| flecsi::exec::parallel_for (ITERATOR const iterator, LAMBDA const lambda, std::string const &name="") |
|
◆ 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.