Do more. Code less. Free software for GPU computing.
<scroll to top>
Public Attributes

sub_t Struct Reference

Metadata describing subscript. More...

#include <index.h>

List of all members.

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

Detailed Description

Metadata describing subscript.


Member Data Documentation

enum stype_t type

What type of subscript?

int first
int inc
struct { ... } lin

Linear span (zero-index)

unsigned pos
struct { ... } non

Position in inds array (pos: zero-index)

underlying data type

int id

Which device pointer (0,1,2)

struct { ... } gpu

Which device pointer to use.

union { ... } d

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