diff options
author | cloudygoose <[email protected]> | 2015-05-31 11:32:45 +0800 |
---|---|---|
committer | cloudygoose <[email protected]> | 2015-05-31 11:32:45 +0800 |
commit | 36162328956177d554891f937a13616b5476b231 (patch) | |
tree | a28c7a6f29b37ce091b03534e85d5cb28b2e0f81 /matrix/mmatrix.c | |
parent | cfd06bb974c7088837a107d721b1311a4f160572 (diff) | |
parent | ab12a9583bdd39884fde9bc2444e6fd1bc5f518e (diff) |
...
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'matrix/mmatrix.c')
-rw-r--r-- | matrix/mmatrix.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/matrix/mmatrix.c b/matrix/mmatrix.c index b7d7dae..ab15197 100644 --- a/matrix/mmatrix.c +++ b/matrix/mmatrix.c @@ -17,3 +17,17 @@ const char *nerv_matrix_(tname) = "nerv.MMatrixFloat"; #define nerv_matrix_(NAME) nerv_matrix_host_double_##NAME const char *nerv_matrix_(tname) = "nerv.MMatrixDouble"; #include "generic/mmatrix.c" +#undef nerv_matrix_ +#undef host_matrix_ +#undef MATRIX_USE_DOUBLE +#undef MATRIX_ELEM +#undef MATRIX_ELEM_PTR +#undef MATRIX_ELEM_FMT + +#define NERV_GENERIC_MMATRIX +#define MATRIX_USE_INT +#define host_matrix_(NAME) host_matrix_int_##NAME +#define nerv_matrix_(NAME) nerv_matrix_host_int_##NAME +const char *nerv_matrix_(tname) = "nerv.MMatrixInt"; +#include "generic/mmatrix.c" + |