grid interface available when on gpu More...
grid interface available when on gpu
n_buf | number of template buffers |
Definition at line 636 of file map_vector_cuda_ker.cuh.
Public Types | |
typedef vector_gpu_ker< T, layout_base > | self_type |
typedef apply_transform< layout_base, T >::type | T_ |
typedef int | yes_i_am_vector |
typedef layout_base< T_ >::type | layout_type |
typedef grid_base< 1, T_, CudaMemory, typenamelayout_base< T_ >::type >::container | container |
typedef T_ | value_type |
typedef int | yes_has_check_device_pointer |
Public Member Functions | |
__device__ __host__ unsigned int | size () const |
__host__ __device__ size_t | size_local () const |
__device__ __host__ unsigned int | capacity () const |
template<unsigned int p> | |
__device__ __host__ auto | get (unsigned int id) const -> decltype(vref.template get< p >(id)) |
__device__ __host__ auto | get (unsigned int id) -> decltype(vref.get(id)) |
__device__ __host__ auto | get (unsigned int id) const -> decltype(vref.get(id)) |
__device__ __host__ auto | get_o (unsigned int id) const -> decltype(vref.get_o(id)) |
__device__ __host__ auto | get_o (unsigned int id) -> decltype(vref.get_o(id)) |
auto | last () const -> decltype(vref.last()) |
template<unsigned int p> | |
__device__ __host__ auto | get (unsigned int id) -> decltype(vref.template get< p >(id)) |
auto | last () -> decltype(vref.last()) |
vector_gpu_ker_ref (vector_gpu_ker< T, layout_base > &vref) | |
__device__ void | set (int id, const container &obj) |
template<unsigned int p> | |
__device__ __host__ void * | getPointer () |
template<unsigned int p> | |
__device__ __host__ const void * | getPointer () const |
template<typename encap_S , unsigned int ... args> | |
void | set_o (unsigned int i, const encap_S &obj) |
__device__ void | set (unsigned int id, const vector_gpu_ker< T_, layout_base > &v, unsigned int src) |
template<unsigned int ... prp> | |
__device__ void | set (unsigned int id, const vector_gpu_ker< T_, layout_base > &v, unsigned int src) |
__host__ ite_gpu< 1 > | getGPUIterator (size_t n_thr=default_kernel_wg_threads_) const |
ite_gpu< 1 > | getGPUIteratorTo (size_t stop, size_t n_thr=default_kernel_wg_threads_) const |
Get an iterator for the GPU. | |
vector_gpu_ker< T, layout_base > & | getVector () |
const vector_gpu_ker< T, layout_base > & | getVector () const |
__host__ vector_gpu_ker_ref< T, layout_base > & | operator= (const vector_gpu_ker< T, layout_base > &v) |
__device__ grid_gpu_ker< 1, T_, layout_base, grid_sm< 1, void > > & | getBase () |
pointer_check | check_device_pointer (void *ptr) |
void * | internal_get_size_pointer () |
void | print_size () |
Data Fields | |
vector_gpu_ker< T, layout_base > & | vref |
vector reference | |
typedef grid_base<1,T_,CudaMemory,typenamelayout_base<T_>::type>::container openfpm::vector_gpu_ker_ref< T, layout_base >::container |
Definition at line 651 of file map_vector_cuda_ker.cuh.
typedef layout_base<T_>::type openfpm::vector_gpu_ker_ref< T, layout_base >::layout_type |
Definition at line 649 of file map_vector_cuda_ker.cuh.
typedef vector_gpu_ker<T,layout_base> openfpm::vector_gpu_ker_ref< T, layout_base >::self_type |
Definition at line 638 of file map_vector_cuda_ker.cuh.
typedef apply_transform<layout_base,T>::type openfpm::vector_gpu_ker_ref< T, layout_base >::T_ |
Definition at line 640 of file map_vector_cuda_ker.cuh.
typedef T_ openfpm::vector_gpu_ker_ref< T, layout_base >::value_type |
Definition at line 653 of file map_vector_cuda_ker.cuh.
typedef int openfpm::vector_gpu_ker_ref< T, layout_base >::yes_has_check_device_pointer |
Definition at line 655 of file map_vector_cuda_ker.cuh.
typedef int openfpm::vector_gpu_ker_ref< T, layout_base >::yes_i_am_vector |
Definition at line 647 of file map_vector_cuda_ker.cuh.
|
inline |
Definition at line 714 of file map_vector_cuda_ker.cuh.
|
inline |
Definition at line 667 of file map_vector_cuda_ker.cuh.
|
inline |
Definition at line 784 of file map_vector_cuda_ker.cuh.
|
inline |
Definition at line 678 of file map_vector_cuda_ker.cuh.
|
inline |
Definition at line 704 of file map_vector_cuda_ker.cuh.
|
inline |
Definition at line 683 of file map_vector_cuda_ker.cuh.
|
inline |
Definition at line 673 of file map_vector_cuda_ker.cuh.
|
inline |
Definition at line 693 of file map_vector_cuda_ker.cuh.
|
inline |
Definition at line 688 of file map_vector_cuda_ker.cuh.
|
inline |
Definition at line 779 of file map_vector_cuda_ker.cuh.
|
inline |
Definition at line 749 of file map_vector_cuda_ker.cuh.
|
inline |
Get an iterator for the GPU.
Definition at line 758 of file map_vector_cuda_ker.cuh.
|
inline |
Definition at line 723 of file map_vector_cuda_ker.cuh.
|
inline |
Definition at line 728 of file map_vector_cuda_ker.cuh.
|
inline |
Definition at line 763 of file map_vector_cuda_ker.cuh.
|
inline |
Definition at line 768 of file map_vector_cuda_ker.cuh.
|
inline |
Definition at line 789 of file map_vector_cuda_ker.cuh.
|
inline |
Definition at line 709 of file map_vector_cuda_ker.cuh.
|
inline |
Definition at line 698 of file map_vector_cuda_ker.cuh.
|
inline |
Definition at line 773 of file map_vector_cuda_ker.cuh.
|
inline |
Definition at line 791 of file map_vector_cuda_ker.cuh.
|
inline |
Definition at line 718 of file map_vector_cuda_ker.cuh.
|
inline |
Definition at line 738 of file map_vector_cuda_ker.cuh.
|
inline |
Definition at line 744 of file map_vector_cuda_ker.cuh.
|
inline |
Definition at line 733 of file map_vector_cuda_ker.cuh.
|
inline |
Definition at line 657 of file map_vector_cuda_ker.cuh.
|
inline |
Definition at line 662 of file map_vector_cuda_ker.cuh.
vector_gpu_ker<T,layout_base>& openfpm::vector_gpu_ker_ref< T, layout_base >::vref |
vector reference
Definition at line 643 of file map_vector_cuda_ker.cuh.