![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <algorithm>#include <type_traits>#include <Kokkos_Core.hpp>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.
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_buffers(), 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.
Referenced by enumerate_local_particles(), ICCStar::iteration(), link_cell_kokkos(), CoulombP3MImpl< FloatType, Architecture, FFTConfig >::long_range_kernel(), anonymous_namespace{dp3m_heffte.impl.hpp}::AssignDipole< cao >::operator()(), anonymous_namespace{dp3m_heffte.impl.hpp}::AssignForcesDip< cao >::operator()(), anonymous_namespace{dp3m_heffte.impl.hpp}::AssignTorques< cao >::operator()(), anonymous_namespace{p3m.impl.definitions.hpp}::AssignCharge< cao >::operator()(), anonymous_namespace{p3m.impl.definitions.hpp}::AssignForces< cao >::operator()(), update_aosoa_charges(), and update_cabana_state().