OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
openfpm::vector_subset_ker< dim, prop, layout_base > Class Template Reference

Detailed Description

template<unsigned int dim, typename prop, template< typename > class layout_base = memory_traits_inte>
class openfpm::vector_subset_ker< dim, prop, layout_base >

Definition at line 10 of file vector_subset.hpp.

Public Member Functions

 vector_subset_ker (openfpm::vector_gpu_ker< typename apply_transform< layout_base, prop >::type, layout_base > &v_all, openfpm::vector_gpu_ker< aggregate< int >, layout_base > &indexes)
 
template<unsigned int p>
__device__ __host__ auto get (size_t id) const -> decltype(v_all.template get< p >(0))
 

Private Attributes

openfpm::vector_gpu_ker< typename apply_transform< layout_base, prop >::type, layout_base > v_all
 
openfpm::vector_gpu_ker< aggregate< int >, layout_base > indexes
 

Constructor & Destructor Documentation

◆ vector_subset_ker()

template<unsigned int dim, typename prop , template< typename > class layout_base = memory_traits_inte>
openfpm::vector_subset_ker< dim, prop, layout_base >::vector_subset_ker ( openfpm::vector_gpu_ker< typename apply_transform< layout_base, prop >::type, layout_base > &  v_all,
openfpm::vector_gpu_ker< aggregate< int >, layout_base > &  indexes 
)
inline

Definition at line 18 of file vector_subset.hpp.

Member Function Documentation

◆ get()

template<unsigned int dim, typename prop , template< typename > class layout_base = memory_traits_inte>
template<unsigned int p>
__device__ __host__ auto openfpm::vector_subset_ker< dim, prop, layout_base >::get ( size_t  id) const -> decltype(v_all.template get<p>(0))
inline

Definition at line 26 of file vector_subset.hpp.

Field Documentation

◆ indexes

template<unsigned int dim, typename prop , template< typename > class layout_base = memory_traits_inte>
openfpm::vector_gpu_ker<aggregate<int>,layout_base> openfpm::vector_subset_ker< dim, prop, layout_base >::indexes
mutableprivate

Definition at line 14 of file vector_subset.hpp.

◆ v_all

template<unsigned int dim, typename prop , template< typename > class layout_base = memory_traits_inte>
openfpm::vector_gpu_ker<typename apply_transform<layout_base,prop>::type,layout_base> openfpm::vector_subset_ker< dim, prop, layout_base >::v_all
mutableprivate

Definition at line 12 of file vector_subset.hpp.


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