Kokkos Core Kernels Package  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends
Kokkos::Impl::ViewDataHandle< ViewTraits, Enable > Class Template Reference

ViewDataHandle provides the type of the 'data handle' which the view uses to access data with the [] operator. It also provides an allocate function and a function to extract a raw ptr from the data handle. ViewDataHandle also defines an enum ReferenceAble which specifies whether references/pointers to elements can be taken and a 'return_type' which is what the view operators will give back. Specialisation of this object allows three things depending on ViewTraits and compiler options: (i) Use special allocator (e.g. huge pages/small pages and pinned memory) (ii) Use special data handle type (e.g. add Cuda Texture Object) (iii) Use special access intrinsics (e.g. texture fetch and non-caching loads) More...

#include <Kokkos_View.hpp>

List of all members.


Detailed Description

template<class ViewTraits, class Enable = void>
class Kokkos::Impl::ViewDataHandle< ViewTraits, Enable >

ViewDataHandle provides the type of the 'data handle' which the view uses to access data with the [] operator. It also provides an allocate function and a function to extract a raw ptr from the data handle. ViewDataHandle also defines an enum ReferenceAble which specifies whether references/pointers to elements can be taken and a 'return_type' which is what the view operators will give back. Specialisation of this object allows three things depending on ViewTraits and compiler options: (i) Use special allocator (e.g. huge pages/small pages and pinned memory) (ii) Use special data handle type (e.g. add Cuda Texture Object) (iii) Use special access intrinsics (e.g. texture fetch and non-caching loads)

Definition at line 237 of file Kokkos_View.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends