ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
kokkos_helpers.hpp File Reference
#include <algorithm>
#include <type_traits>
#include <Kokkos_Core.hpp>
Include dependency graph for kokkos_helpers.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

ESPRESSO_ATTR_ALWAYS_INLINE void kokkos_deep_copy (auto const &exec_space, auto const &view, auto const &value)
 Wrapper for Kokkos::deep_copy that skips fork/join when the number of threads is 1.
template<class ExecutionSpace = Kokkos::DefaultHostExecutionSpace>
ESPRESSO_ATTR_ALWAYS_INLINE void kokkos_parallel_range_for (auto const &name, auto start, auto end, auto const &kernel)
 Wrapper for Kokkos::parallel_for that skips fork/join when the number of threads is 1.

Function Documentation

◆ kokkos_deep_copy()

ESPRESSO_ATTR_ALWAYS_INLINE void kokkos_deep_copy ( auto const & exec_space,
auto const & view,
auto const & value )
inline

◆ kokkos_parallel_range_for()