IPPL API Reference
Independent Parallel Particle Layer C++ API
Loading...
Searching...
No Matches
ippl::increment_type Struct Reference

#include <ParticleSpatialLayout.hpp>

+ Collaboration diagram for ippl::increment_type:

Public Member Functions

KOKKOS_FUNCTION void init ()
 
KOKKOS_INLINE_FUNCTION increment_typeoperator+= (bool *values)
 
KOKKOS_INLINE_FUNCTION increment_typeoperator+= (increment_type values)
 

Public Attributes

size_t count [2]
 

Detailed Description

We need this struct since Kokkos parallel_scan only accepts one variable of type ReturnType where to perform the reduction operation. For more details, see https://kokkos.github.io/kokkos-core-wiki/API/core/parallel-dispatch/parallel_scan.html.


The documentation for this struct was generated from the following file: