aboutsummaryrefslogtreecommitdiff
path: root/nerv/lib/matrix/matrix.h
diff options
context:
space:
mode:
authorDeterminant <ted.sybil@gmail.com>2016-02-15 16:18:13 +0800
committerDeterminant <ted.sybil@gmail.com>2016-02-15 16:18:13 +0800
commita7608a67f16f745309409f6a004354121e0b3ba6 (patch)
treeb36ec7c4e8b252f540f049d374a13915ca5ba9a3 /nerv/lib/matrix/matrix.h
parent3362020a6bc43766a92882abe6d127c8bb98a628 (diff)
move curand_gen out of the matrix layout
Diffstat (limited to 'nerv/lib/matrix/matrix.h')
-rw-r--r--nerv/lib/matrix/matrix.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/nerv/lib/matrix/matrix.h b/nerv/lib/matrix/matrix.h
index 2562772..35b698f 100644
--- a/nerv/lib/matrix/matrix.h
+++ b/nerv/lib/matrix/matrix.h
@@ -2,7 +2,6 @@
#define NERV_GENERIC_MATRIX_H
#include <stddef.h>
-#include <curand.h>
typedef struct Matrix {
size_t stride; /* size of a row */
@@ -15,7 +14,6 @@ typedef struct Matrix {
} data; /* pointer to actual storage */
unsigned long offset; /* the actual beginning of the matrix */
long *data_ref;
- curandGenerator_t *curand_gen;
} Matrix;
#define MATRIX_ROW_PTR(self, row) \