OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
meta_copy< T[N1]> Struct Template Reference

Partial specialization for N=1 1D-Array. More...

Detailed Description

template<typename T, size_t N1>
struct meta_copy< T[N1]>

Partial specialization for N=1 1D-Array.

Definition at line 113 of file meta_copy.hpp.

#include <meta_copy.hpp>

Static Public Member Functions

__device__ static __host__ void meta_copy_ (const T src[N1], T dst[N1])
 copy and object from src to dst
 
template<typename T2 >
__device__ static __host__ void meta_copy_ (const T src[N1], std_array_vector_view< T2 > dst)
 copy and object from src to dst
 
template<typename v_mpl >
__device__ static __host__ void meta_copy_ (const openfpm::detail::multi_array::sub_array_openfpm< T, 1, v_mpl > src, openfpm::detail::multi_array::sub_array_openfpm< T, 1, v_mpl > dst)
 copy and object from src to dst
 
template<typename v_mpl >
__device__ static __host__ void meta_copy_ (const openfpm::detail::multi_array::sub_array_openfpm< T, 1, v_mpl > src, T *dst)
 copy and object from src to dst
 

Member Function Documentation

◆ meta_copy_() [1/4]

template<typename T , size_t N1>
template<typename v_mpl >
__device__ static __host__ void meta_copy< T[N1]>::meta_copy_ ( const openfpm::detail::multi_array::sub_array_openfpm< T, 1, v_mpl >  src,
openfpm::detail::multi_array::sub_array_openfpm< T, 1, v_mpl >  dst 
)
inlinestatic

copy and object from src to dst

Parameters
srcsource object to copy
dstdestination object

Definition at line 151 of file meta_copy.hpp.

◆ meta_copy_() [2/4]

template<typename T , size_t N1>
template<typename v_mpl >
__device__ static __host__ void meta_copy< T[N1]>::meta_copy_ ( const openfpm::detail::multi_array::sub_array_openfpm< T, 1, v_mpl >  src,
T *  dst 
)
inlinestatic

copy and object from src to dst

Parameters
srcsource object to copy
dstdestination object

Definition at line 167 of file meta_copy.hpp.

◆ meta_copy_() [3/4]

template<typename T , size_t N1>
template<typename T2 >
__device__ static __host__ void meta_copy< T[N1]>::meta_copy_ ( const T  src[N1],
std_array_vector_view< T2 >  dst 
)
inlinestatic

copy and object from src to dst

Parameters
srcsource object to copy
dstdestination object

Definition at line 136 of file meta_copy.hpp.

◆ meta_copy_() [4/4]

template<typename T , size_t N1>
__device__ static __host__ void meta_copy< T[N1]>::meta_copy_ ( const T  src[N1],
dst[N1] 
)
inlinestatic

copy and object from src to dst

Parameters
srcsource object to copy
dstdestination object

Definition at line 121 of file meta_copy.hpp.


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