Commit b88c3f30 authored by Umang Yadav's avatar Umang Yadav
Browse files

Move fp8 to last inside enum

parent 32656dda
...@@ -37,7 +37,6 @@ ...@@ -37,7 +37,6 @@
m(half_type, half) \ m(half_type, half) \
m(float_type, float) \ m(float_type, float) \
m(double_type, double) \ m(double_type, double) \
m(float8_type, fp8e4m3fnuz) \
m(uint8_type, uint8_t) \ m(uint8_type, uint8_t) \
m(int8_type, int8_t) \ m(int8_type, int8_t) \
m(uint16_type, uint16_t) \ m(uint16_type, uint16_t) \
...@@ -45,7 +44,8 @@ ...@@ -45,7 +44,8 @@
m(int32_type, int32_t) \ m(int32_type, int32_t) \
m(int64_type, int64_t) \ m(int64_type, int64_t) \
m(uint32_type, uint32_t) \ m(uint32_type, uint32_t) \
m(uint64_type, uint64_t) m(uint64_type, uint64_t) \
m(float8_type, fp8e4m3fnuz)
// clang-format on // clang-format on
#ifdef __cplusplus #ifdef __cplusplus
......
...@@ -54,7 +54,6 @@ struct MIGRAPHX_EXPORT shape ...@@ -54,7 +54,6 @@ struct MIGRAPHX_EXPORT shape
m(half_type, half) \ m(half_type, half) \
m(float_type, float) \ m(float_type, float) \
m(double_type, double) \ m(double_type, double) \
m(float8_type, migraphx_fp8::fp8e4m3fnuz) \
m(uint8_type, uint8_t) \ m(uint8_type, uint8_t) \
m(int8_type, int8_t) \ m(int8_type, int8_t) \
m(uint16_type, uint16_t) \ m(uint16_type, uint16_t) \
...@@ -62,7 +61,8 @@ struct MIGRAPHX_EXPORT shape ...@@ -62,7 +61,8 @@ struct MIGRAPHX_EXPORT shape
m(int32_type, int32_t) \ m(int32_type, int32_t) \
m(int64_type, int64_t) \ m(int64_type, int64_t) \
m(uint32_type, uint32_t) \ m(uint32_type, uint32_t) \
m(uint64_type, uint64_t) m(uint64_type, uint64_t) \
m(float8_type, migraphx_fp8::fp8e4m3fnuz)
// clang-format on // clang-format on
#define MIGRAPHX_SHAPE_GENERATE_ENUM_TYPES(x, t) x, #define MIGRAPHX_SHAPE_GENERATE_ENUM_TYPES(x, t) x,
......
...@@ -37,7 +37,6 @@ ...@@ -37,7 +37,6 @@
m(half_type, half) \ m(half_type, half) \
m(float_type, float) \ m(float_type, float) \
m(double_type, double) \ m(double_type, double) \
m(float8_type, migraphx_fp8::fp8e4m3fnuz) \
m(uint8_type, uint8_t) \ m(uint8_type, uint8_t) \
m(int8_type, int8_t) \ m(int8_type, int8_t) \
m(uint16_type, uint16_t) \ m(uint16_type, uint16_t) \
...@@ -45,7 +44,8 @@ ...@@ -45,7 +44,8 @@
m(int32_type, int32_t) \ m(int32_type, int32_t) \
m(int64_type, int64_t) \ m(int64_type, int64_t) \
m(uint32_type, uint32_t) \ m(uint32_type, uint32_t) \
m(uint64_type, uint64_t) m(uint64_type, uint64_t) \
m(float8_type, migraphx_fp8::fp8e4m3fnuz)
// clang-format on // clang-format on
#ifdef __cplusplus #ifdef __cplusplus
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment