XGC1
Enumerations | Functions | Variables
access_add.hpp File Reference
#include "space_settings.hpp"
Include dependency graph for access_add.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum class  ScatterType { Atomic , Replication }
 

Functions

KOKKOS_INLINE_FUNCTION int get_thread ()
 
template<typename T >
KOKKOS_INLINE_FUNCTION void access_add (T *addr, T val)
 
template<typename T >
void reduce_replicated_array (T &view)
 

Variables

constexpr ScatterType SCATTER_TYPE_GLOBAL = ScatterType::Atomic
 

Enumeration Type Documentation

◆ ScatterType

enum ScatterType
strong
Enumerator
Atomic 
Replication 

Function Documentation

◆ access_add()

template<typename T >
KOKKOS_INLINE_FUNCTION void access_add ( T *  addr,
val 
)
Here is the caller graph for this function:

◆ get_thread()

KOKKOS_INLINE_FUNCTION int get_thread ( )
Here is the caller graph for this function:

◆ reduce_replicated_array()

template<typename T >
void reduce_replicated_array ( T &  view)
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ SCATTER_TYPE_GLOBAL

constexpr ScatterType SCATTER_TYPE_GLOBAL = ScatterType::Atomic
constexpr