A random-access input (read-only) iterator adaptor for dereferencing array values through texture cache.
More...
|
|
using | value_type = typename std::remove_const< T >::type |
| | The type of the value that can be obtained by dereferencing the iterator.
|
| |
|
using | reference = const value_type & |
| | A reference type of the type iterated over (value_type).
|
| |
|
using | pointer = const value_type * |
| | A pointer type of the type iterated over (value_type).
|
| |
|
using | difference_type = Difference |
| | A type used for identify distance between iterators.
|
| |
|
using | iterator_category = std::random_access_iterator_tag |
| | The category of the iterator.
|
| |
|
using | self_type = texture_cache_iterator |
| |
template<class T, class Difference = std::ptrdiff_t>
class texture_cache_iterator< T, Difference >
A random-access input (read-only) iterator adaptor for dereferencing array values through texture cache.
This iterator is not functional on gfx94x architectures.
- Overview
- A texture_cache_iterator wraps a device pointer of type T, where values are obtained by dereferencing through texture cache.
- Can be exchanged and manipulated within and between host and device functions.
- Can only be constructed within host functions, and can only be dereferenced within device functions.
- Accepts any data type from memory, and loads through texture cache.
- This iterator is not functional on gfx94x architectures, as native texture fetch functions are not supported in gfx94x.
- Template Parameters
-
| T | - type of value that can be obtained by dereferencing the iterator. |
| Difference | - a type used for identify distance between iterators. |