mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-10-31 12:04:33 +00:00 
			
		
		
		
	Added disclaimer on half-precision types
This commit is contained in:
		| @@ -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; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user