OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
add_atomic_< Tdst, Tsrc > Struct Template Reference

This structure define the operation add to use with copy general. More...

Detailed Description

template<typename Tdst, typename Tsrc>
struct add_atomic_< Tdst, Tsrc >

This structure define the operation add to use with copy general.

Template Parameters
Tdstdestination object type
Tsrcsource object type

Definition at line 100 of file copy_general.hpp.

#include <copy_general.hpp>

Static Public Member Functions

__device__ static __host__ void operation (Tdst &dst, const Tsrc &src)
 Defition of the add operation.
 

Member Function Documentation

◆ operation()

template<typename Tdst , typename Tsrc >
__device__ static __host__ void add_atomic_< Tdst, Tsrc >::operation ( Tdst &  dst,
const Tsrc &  src 
)
inlinestatic

Defition of the add operation.

Parameters
dstDestination object
srcSource object

Definition at line 108 of file copy_general.hpp.


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