OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
grid_gpu_ker_ref< dim, T, layout_base, linearizer > Class Template Reference

Detailed Description

template<unsigned int dim, typename T, template< typename > class layout_base, typename linearizer>
class grid_gpu_ker_ref< dim, T, layout_base, linearizer >

Definition at line 141 of file map_grid_cuda_ker.cuh.

Public Types

typedef int yes_i_am_grid
 it define that it is a grid
 
typedef T value_type
 Type of the value the vector is storing.
 

Public Member Functions

__device__ __host__ grid_gpu_ker_ref (grid_gpu_ker< dim, T, layout_base, linearizer > &ggk)
 
__device__ __host__ const grid_sm< dim, void > & getGrid () const
 
__device__ __host__ size_t size () const
 
template<unsigned int p, typename ids_type >
__device__ __host__ auto get (const grid_key_dx< dim, ids_type > &v1) -> decltype(ggk.template get< p >(v1))
 
template<unsigned int p, typename ids_type >
__device__ __host__ auto get (const grid_key_dx< dim, ids_type > &v1) const -> decltype(ggk.template get< p >(v1))
 
template<unsigned int p>
__device__ __host__ auto get (const size_t lin_id) -> decltype(ggk.template get< p >(lin_id))
 
template<unsigned int p>
__device__ __host__ auto get (size_t lin_id) const -> decltype(ggk.template get< p >(lin_id))
 
template<typename Tk >
__device__ auto get_o (const grid_key_dx< dim, Tk > &v1) -> decltype(ggk.get_o(v1))
 
template<typename Tk >
__device__ auto get_o (const grid_key_dx< dim, Tk > &v1) const -> decltype(ggk.get_o(v1))
 
__device__ void set (const grid_key_dx< dim > &key1, const grid_gpu_ker< dim, T_, layout_base, linearizer > &g, const grid_key_dx< dim > &key2)
 
template<unsigned int ... prp>
__device__ void set (const grid_key_dx< dim > &key1, const grid_gpu_ker< dim, T_, layout_base, linearizer > &g, const grid_key_dx< dim > &key2)
 
template<typename Memory >
__device__ void set (grid_key_dx< dim > key1, const encapc< 1, T, Memory > &obj)
 
template<unsigned int p>
__device__ __host__ void * getPointer ()
 
template<unsigned int p>
__device__ __host__ const void * getPointer () const
 
grid_gpu_ker< dim, T, layout_base, linearizer > & operator= (const grid_gpu_ker< dim, T, layout_base, linearizer > &g)
 
struct ite_gpu< dim > getGPUIterator (grid_key_dx< dim > &key1, grid_key_dx< dim > &key2, size_t n_thr=default_kernel_wg_threads_) const
 
__device__ __host__ layout & get_data_ ()
 
__device__ __host__ const layout & get_data_ () const
 
const grid_gpu_ker_reftoKernel () const
 

Static Public Attributes

static constexpr unsigned int dims = dim
 expose the dimansionality as a static const
 

Private Types

typedef apply_transform< layout_base, T >::type T_
 
typedef layout_base< T_ >::type layout
 

Private Attributes

grid_gpu_ker< dim, T, layout_base, linearizer > & ggk
 

Friends

class grid_gpu_ker< dim, T, layout_base, linearizer >
 

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