BLAS: Added row-major support and tests

This commit is contained in:
Philippe Tillet
2015-06-27 15:22:26 -04:00
parent 8f19d2a69c
commit 3525edd54c
4 changed files with 80 additions and 39 deletions

View File

@@ -14,7 +14,7 @@ enum interface_t{clBLAS, CPP};
#define CHANDLE(X) (*X.data().handle().cl)()
#define OFF(X) X.start()[0] + X.start()[1]*X.ld()
#define LD(X) X.ld()*X.stride()[1]
#define LD(X) X.ld()
/*------ Simple Vector ---------*/
template<class T>