mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-09 21:50:45 +01:00
Added disclaimer on half-precision types
This commit is contained in:
parent
0faf40e207
commit
bff4eeec41
@ -143,6 +143,7 @@ namespace Grid {
|
|||||||
typedef vRealD DoublePrecision;
|
typedef vRealD DoublePrecision;
|
||||||
};
|
};
|
||||||
template<> struct GridTypeMapper<vRealH> : public GridTypeMapper_Base {
|
template<> struct GridTypeMapper<vRealH> : public GridTypeMapper_Base {
|
||||||
|
// Fixme this is incomplete until Grid supports fp16 or bfp16 arithmetic types
|
||||||
typedef RealF scalar_type;
|
typedef RealF scalar_type;
|
||||||
typedef vRealH vector_type;
|
typedef vRealH vector_type;
|
||||||
typedef vRealD vector_typeD;
|
typedef vRealD vector_typeD;
|
||||||
@ -153,6 +154,7 @@ namespace Grid {
|
|||||||
typedef vRealD DoublePrecision;
|
typedef vRealD DoublePrecision;
|
||||||
};
|
};
|
||||||
template<> struct GridTypeMapper<vComplexH> : public GridTypeMapper_Base {
|
template<> struct GridTypeMapper<vComplexH> : public GridTypeMapper_Base {
|
||||||
|
// Fixme this is incomplete until Grid supports fp16 or bfp16 arithmetic types
|
||||||
typedef ComplexF scalar_type;
|
typedef ComplexF scalar_type;
|
||||||
typedef vComplexH vector_type;
|
typedef vComplexH vector_type;
|
||||||
typedef vComplexD vector_typeD;
|
typedef vComplexD vector_typeD;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user