![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#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. | |
|
inline |
Wrapper for Kokkos::deep_copy that skips fork/join when the number of threads is 1.
Definition at line 32 of file kokkos_helpers.hpp.
References stream.
Referenced by System::System::calculate_energy(), System::System::calculate_pressure(), CoulombP3MImpl< FloatType, Architecture, FFTConfig >::prepare_fft_mesh(), CellStructure::rebuild_local_properties(), CellStructure::reset_local_force_and_torque(), and CellStructure::reset_local_properties().
|
inline |
Wrapper for Kokkos::parallel_for that skips fork/join when the number of threads is 1.
Definition at line 52 of file kokkos_helpers.hpp.
References stream.
Referenced by enumerate_local_particles().