1 #ifndef _CORE_DATATYPES_H_
2 #define _CORE_DATATYPES_H_
6 #include "smaug/core/types.pb.h"
10 using float16 = uint16_t;
22 static const DataType dataType = Float16;
26 static const DataType dataType = Float32;
30 static const DataType dataType = Float64;
34 static const DataType dataType = Int32;
38 static const DataType dataType = Int32;
42 static const DataType dataType = Int64;
46 static const DataType dataType = Int64;
50 static const DataType dataType = Bool;
58 template <enum DataType>
71 typedef uint16_t type;