aboutsummaryrefslogtreecommitdiff
path: root/nerv/lib/matrix/matrix.h
diff options
context:
space:
mode:
authorTianxingHe <htx_2006@hotmail.com>2016-01-19 20:13:49 -0800
committerTianxingHe <htx_2006@hotmail.com>2016-01-19 20:13:49 -0800
commitdcad8a3f80fc55ca93984d981f9b829d2e4ea728 (patch)
tree61b9bc1d043883bb5d85dcb86cfb621396d75c41 /nerv/lib/matrix/matrix.h
parent7449dd19c4d1669b483693f61add9d574e46f0b2 (diff)
parent37dec2610c92d03813c4e91ed58791ab60da6646 (diff)
Merge pull request #21 from cloudygoose/txh18/rnnlm
Txh18/rnnlm new changes to lm side
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;