aboutsummaryrefslogtreecommitdiff
path: root/nerv/lib/matrix/matrix.h
diff options
context:
space:
mode:
Diffstat (limited to 'nerv/lib/matrix/matrix.h')
-rw-r--r--nerv/lib/matrix/matrix.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/nerv/lib/matrix/matrix.h b/nerv/lib/matrix/matrix.h
index 5a85c08..a28fd97 100644
--- a/nerv/lib/matrix/matrix.h
+++ b/nerv/lib/matrix/matrix.h
@@ -13,6 +13,7 @@ typedef struct Matrix {
double *d;
long *i;
} data; /* pointer to actual storage */
+ unsigned long offset; /* the actual beginning of the matrix */
long *data_ref;
curandGenerator_t *curand_gen;
} Matrix;