OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
MultiArrayViewGpu< BaseT, Nup, 0 > Class Template Reference

Detailed Description

template<typename BaseT, unsigned int Nup>
class MultiArrayViewGpu< BaseT, Nup, 0 >

Definition at line 63 of file BlockMapGpu_dimensionalityWrappers.cuh.

Public Member Functions

__device__ __host__ MultiArrayViewGpu (BaseT *ptr)
 
template<typename IndexT >
__device__ __host__ MultiArrayViewGpu (BaseT *ptr, IndexT offset)
 
__device__ __host__ BaseT::scalarType & operator[] (int i)
 
__device__ __host__ BaseT::scalarType & operator[] (int i) const
 
template<typename T >
__device__ __host__ MultiArrayViewGpu< BaseT, Nup, 0 > & operator= (const T &other)
 

Private Attributes

BaseT * ptr
 

Constructor & Destructor Documentation

◆ MultiArrayViewGpu() [1/2]

template<typename BaseT , unsigned int Nup>
__device__ __host__ MultiArrayViewGpu< BaseT, Nup, 0 >::MultiArrayViewGpu ( BaseT *  ptr)
inline

Definition at line 69 of file BlockMapGpu_dimensionalityWrappers.cuh.

◆ MultiArrayViewGpu() [2/2]

template<typename BaseT , unsigned int Nup>
template<typename IndexT >
__device__ __host__ MultiArrayViewGpu< BaseT, Nup, 0 >::MultiArrayViewGpu ( BaseT *  ptr,
IndexT  offset 
)
inline

Definition at line 74 of file BlockMapGpu_dimensionalityWrappers.cuh.

Member Function Documentation

◆ operator=()

template<typename BaseT , unsigned int Nup>
template<typename T >
__device__ __host__ MultiArrayViewGpu< BaseT, Nup, 0 > & MultiArrayViewGpu< BaseT, Nup, 0 >::operator= ( const T &  other)
inline

Definition at line 89 of file BlockMapGpu_dimensionalityWrappers.cuh.

◆ operator[]() [1/2]

template<typename BaseT , unsigned int Nup>
__device__ __host__ BaseT::scalarType & MultiArrayViewGpu< BaseT, Nup, 0 >::operator[] ( int  i)
inline

Definition at line 78 of file BlockMapGpu_dimensionalityWrappers.cuh.

◆ operator[]() [2/2]

template<typename BaseT , unsigned int Nup>
__device__ __host__ BaseT::scalarType & MultiArrayViewGpu< BaseT, Nup, 0 >::operator[] ( int  i) const
inline

Definition at line 83 of file BlockMapGpu_dimensionalityWrappers.cuh.

Field Documentation

◆ ptr

template<typename BaseT , unsigned int Nup>
BaseT* MultiArrayViewGpu< BaseT, Nup, 0 >::ptr
private

Definition at line 65 of file BlockMapGpu_dimensionalityWrappers.cuh.


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