add opencl product tensor, update contracted product cl, test precision float and double in tools
This commit is contained in:
@@ -78,10 +78,11 @@ TYPE_STRING TYPE_STRING_TO_STR(TYPE_STRING var){
|
||||
// with gcc we can change value of theses PRECISION_TYPES below with: gcc -D PRECISION_TYPE_FLOAT=100000 for instance!
|
||||
#ifndef PRECISION_TYPE_FLOAT
|
||||
/*#define PRECISION_TYPE_FLOAT 100000000*/
|
||||
#define PRECISION_TYPE_FLOAT 100000
|
||||
#define PRECISION_TYPE_FLOAT 10
|
||||
#endif
|
||||
#ifndef PRECISION_TYPE_DOUBLE
|
||||
#define PRECISION_TYPE_DOUBLE 100000000000
|
||||
/*#define PRECISION_TYPE_DOUBLE 100000000000*/
|
||||
#define PRECISION_TYPE_DOUBLE 1000
|
||||
#endif
|
||||
#ifndef PRECISION_TYPE_L_DOUBLE
|
||||
#define PRECISION_TYPE_L_DOUBLE 100000000000000
|
||||
|
||||
Reference in New Issue
Block a user