From bff4eeec4147587d5480e9e293daeff6e97555fb Mon Sep 17 00:00:00 2001 From: Michael Marshall Date: Mon, 18 Mar 2019 12:15:25 +0000 Subject: [PATCH] Added disclaimer on half-precision types --- Grid/tensors/Tensor_traits.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Grid/tensors/Tensor_traits.h b/Grid/tensors/Tensor_traits.h index 9cb93e17..45a1d807 100644 --- a/Grid/tensors/Tensor_traits.h +++ b/Grid/tensors/Tensor_traits.h @@ -143,6 +143,7 @@ namespace Grid { typedef vRealD DoublePrecision; }; template<> struct GridTypeMapper : 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 : 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;