|
Lift
Library of parallel computing primitives for GPUs and multi-core CPUs
|
Base class for tagged memory pointer implementation. More...
#include <pointer.h>
Public Types | |
| enum | { system_tag = system } |
| typedef T | value_type |
| typedef const T | const_value_type |
| typedef _index_type | index_type |
| typedef index_type | size_type |
| typedef index_type | difference_type |
| typedef T & | reference_type |
| typedef const T & | const_reference_type |
| typedef T * | pointer_type |
| typedef const T * | const_pointer_type |
| typedef T * | iterator_type |
| typedef const T * | const_iterator_type |
| typedef thrust_iterator_adaptor < system, value_type, iterator_type > | thrust_iterator_type |
| Thrust-compatible iterator types. More... | |
| typedef thrust_iterator_adaptor < system, value_type, const_iterator_type > | thrust_const_iterator_type |
Protected Attributes | |
| pointer_type | storage |
| size_type | storage_size |
Base class for tagged memory pointer implementation.
Contains most of the common functionality for pointers that is not system-specific.
| system | Defines the target memory space for this pointer |
| T | The underlying data type the pointer points at |
| _index_type | Integral type used in offset calculations. Most GPU architectures lack full hardware support for 64-bit integer math, and so can benefit from having a 32-bit index even when building 64-bit code. |
| typedef const T* lift::tagged_pointer_base< system, T, _index_type >::const_iterator_type |
| typedef const T* lift::tagged_pointer_base< system, T, _index_type >::const_pointer_type |
| typedef const T& lift::tagged_pointer_base< system, T, _index_type >::const_reference_type |
| typedef const T lift::tagged_pointer_base< system, T, _index_type >::const_value_type |
| typedef index_type lift::tagged_pointer_base< system, T, _index_type >::difference_type |
| typedef _index_type lift::tagged_pointer_base< system, T, _index_type >::index_type |
| typedef T* lift::tagged_pointer_base< system, T, _index_type >::iterator_type |
| typedef T* lift::tagged_pointer_base< system, T, _index_type >::pointer_type |
| typedef T& lift::tagged_pointer_base< system, T, _index_type >::reference_type |
| typedef index_type lift::tagged_pointer_base< system, T, _index_type >::size_type |
| typedef thrust_iterator_adaptor<system, value_type, const_iterator_type> lift::tagged_pointer_base< system, T, _index_type >::thrust_const_iterator_type |
| typedef thrust_iterator_adaptor<system, value_type, iterator_type> lift::tagged_pointer_base< system, T, _index_type >::thrust_iterator_type |
| typedef T lift::tagged_pointer_base< system, T, _index_type >::value_type |
| anonymous enum |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
1.8.6