mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-29 08:53:19 +00:00
Eigen::Tensor serialisation. Tested on single and double precision builds
This commit is contained in:
1 parent
d921a99b1a
commit
12d8bf1ced
11 files changed
+973
-78
No files matched your search
@@ -143,6 +143,7 @@ namespace Grid {
|
||||
typedef vRealD DoublePrecision;
|
||||
};
|
||||
template<> struct GridTypeMapper<vRealH> : public GridTypeMapper_Base {
|
||||
// Fixme this is incomplete until Grid supports fp16 or bfp16 arithmetic types
|
||||
typedef RealF scalar_type;
|
||||
typedef vRealH vector_type;
|
||||
typedef vRealD vector_typeD;
|
||||
@@ -153,6 +154,7 @@ namespace Grid {
|
||||
typedef vRealD DoublePrecision;
|
||||
};
|
||||
template<> struct GridTypeMapper<vComplexH> : public GridTypeMapper_Base {
|
||||
// Fixme this is incomplete until Grid supports fp16 or bfp16 arithmetic types
|
||||
typedef ComplexF scalar_type;
|
||||
typedef vComplexH vector_type;
|
||||
typedef vComplexD vector_typeD;
|
||||
|
||||
Reference in new issue
Block a user