mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-13 11:13:18 +01:00
Working half precision comms
This commit is contained in:
1 parent
4a340aa5ca
commit
fc4ab9ccd5
13 files changed
+200
-19
No files matched your search
@@ -142,6 +142,17 @@ namespace Grid {
|
||||
typedef vRealD Realified;
|
||||
enum { TensorLevel = 0 };
|
||||
};
|
||||
template<> class GridTypeMapper<vComplexH> {
|
||||
public:
|
||||
typedef ComplexF scalar_type;
|
||||
typedef vComplexH vector_type;
|
||||
typedef vComplexD vector_typeD;
|
||||
typedef vComplexH tensor_reduced;
|
||||
typedef ComplexF scalar_object;
|
||||
typedef vComplexH Complexified;
|
||||
typedef vRealH Realified;
|
||||
enum { TensorLevel = 0 };
|
||||
};
|
||||
template<> class GridTypeMapper<vComplexF> {
|
||||
public:
|
||||
typedef ComplexF scalar_type;
|
||||
|
||||
Reference in new issue
Block a user