template<unsigned int dim, typename T, template< typename > class layout_base, typename linearizer>
class grid_gpu_ker< dim, T, layout_base, linearizer >
grid interface available when on gpu
- Template Parameters
-
n_buf | number of template buffers |
Definition at line 149 of file map_grid_cuda_ker.cuh.
|
__device__ __host__ | grid_gpu_ker (const linearizer &g1) |
|
__device__ __host__ | grid_gpu_ker (const grid_gpu_ker &cpy) |
|
__device__ __host__ void | constructor_impl (const grid_gpu_ker &cpy) |
|
__device__ __host__ void | constructor_impl (const grid_gpu_ker_ref< dim, T, layout_base, linearizer > &cpy) |
|
__device__ __host__ const grid_sm< dim, void > & | getGrid () const |
| Return the internal grid information. More...
|
|
template<unsigned int p, typename ids_type , typename r_type = decltype(layout_base<T_>::template get<p>(data_,g1,grid_key_dx<dim>()))> |
__device__ __host__ r_type | get (const grid_key_dx< dim, ids_type > &v1) |
| Get the reference of the selected element. More...
|
|
template<unsigned int p, typename ids_type , typename r_type = decltype(layout_base<T_>::template get<p>(data_,g1,grid_key_dx<dim>()))> |
__device__ __host__ r_type | get_debug (const grid_key_dx< dim, ids_type > &v1) const |
| Get the const reference of the selected element. More...
|
|
template<unsigned int p, typename ids_type , typename r_type = decltype(layout_base<T_>::template get<p>(data_,g1,grid_key_dx<dim>()))> |
__device__ __host__ r_type | get (const grid_key_dx< dim, ids_type > &v1) const |
| Get the const reference of the selected element. More...
|
|
template<unsigned int p, typename r_type = decltype(layout_base<T_>::template get_lin<p>(data_,g1,0))> |
__device__ __host__ r_type | get (const size_t lin_id) |
| Get the reference of the selected element. More...
|
|
template<unsigned int p, typename r_type = decltype(layout_base<T_>::template get_lin<p>(data_,g1,0))> |
__device__ __host__ const r_type | get (size_t lin_id) const |
| Get the const reference of the selected element. More...
|
|
template<typename Tk > |
__device__ encapc< dim, T_, layout > | get_o (const grid_key_dx< dim, Tk > &v1) |
| Get the of the selected element as a boost::fusion::vector. More...
|
|
template<typename Tk > |
__device__ const encapc< dim, T_, layout > | get_o (const grid_key_dx< dim, Tk > &v1) const |
| Get the of the selected element as a boost::fusion::vector. More...
|
|
__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) |
| set an element of the grid More...
|
|
template<unsigned int p> |
__device__ __host__ void * | getPointer () |
| Get the pointer for the property p. More...
|
|
template<unsigned int p> |
__device__ __host__ const void * | getPointer () const |
| Get the pointer for the property p. More...
|
|
grid_gpu_ker< dim, T_, layout_base, linearizer > & | operator= (const grid_gpu_ker< dim, T_, layout_base, linearizer > &g) |
| operator= this operator absorb the pointers, consider that this object wrap device pointers More...
|
|
struct ite_gpu< dim > | getGPUIterator (grid_key_dx< dim > &key1, grid_key_dx< dim > &key2, size_t n_thr=default_kernel_wg_threads_) const |
| Get an iterator for the GPU. More...
|
|
__device__ __host__ layout & | get_data_ () |
| Get the internal data_ structure. More...
|
|
__device__ __host__ const layout & | get_data_ () const |
| Get the internal data_ structure. More...
|
|