Metadata describing subscript. More...
#include <index.h>
Public Attributes | |
| enum stype_t | type |
| What type of subscript? | |
| union { | |
| struct { | |
| int first | |
| int inc | |
| } lin | |
| Linear span (zero-index) | |
| struct { | |
| unsigned pos | |
| } non | |
| Position in inds array (pos: zero-index) | |
| struct { | |
| sty_t ty | |
| underlying data type | |
| int id | |
| Which device pointer (0,1,2) | |
| } gpu | |
| Which device pointer to use. | |
| } | d |
Metadata describing subscript.
| int first |
| int inc |
| struct { ... } lin |
Linear span (zero-index)
| unsigned pos |
| struct { ... } non |
Position in inds array (pos: zero-index)
| int id |
Which device pointer (0,1,2)
| struct { ... } gpu |
Which device pointer to use.
| union { ... } d |