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

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

Detailed Description

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

Partial specialization for N=2 2D-Array.

Definition at line 250 of file meta_copy.hpp.

#include <meta_copy.hpp>

Static Public Member Functions

__device__ static __host__ void meta_copy_ (const T src[N1][N2], T dst[N1][N2])
 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, 2, v_mpl > src, openfpm::detail::multi_array::sub_array_openfpm< T, 2, 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, 2, v_mpl > src, T dst[N1][N2])
 copy and object from src to dst
 

Member Function Documentation

◆ meta_copy_() [1/3]

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

copy and object from src to dst

Parameters
srcsource object to copy
dstdestination object

Definition at line 276 of file meta_copy.hpp.

◆ meta_copy_() [2/3]

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

copy and object from src to dst

Parameters
srcsource object to copy
dstdestination object

Definition at line 295 of file meta_copy.hpp.

◆ meta_copy_() [3/3]

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

copy and object from src to dst

Parameters
srcsource object to copy
dstdestination object

Definition at line 258 of file meta_copy.hpp.


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