[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]
Multi-dimensional Array Tags |
Classes | |
struct | ChunkedArrayTag |
struct | StridedArrayTag |
struct | UnstridedArrayTag |
Meta-programming tags to mark array's as strided, unstrided, or chunked.
An array is unstrided if the array elements occupy consecutive memory locations, strided if adjacent elements have a constant offset (e.g. when a view skips every other array element), and chunked if the array is stored in rectangular blocks with arbitrary offsets inbetween.
These tags are used to specialize algorithms for different memory layouts. Older compilers can generate faster code for unstrided arrays. Normally, users don't have to worry about these tags.
© Ullrich Köthe (ullrich.koethe@iwr.uni-heidelberg.de) |
html generated using doxygen and Python
|