SWDEV-312141 - Fix to avoid shadow compilation warning (#2556)

Change-Id: Ie327ec5eb3f3314b24aa512ce180760f18ee5348
This commit is contained in:
ROCm CI Service Account
2022-03-22 12:27:52 +05:30
zatwierdzone przez GitHub
rodzic 4526de0855
commit 8da8fc1be9
+3
Wyświetl plik
@@ -50,6 +50,8 @@ typedef struct
#include <ostream>
#include <type_traits>
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wshadow"
struct hip_bfloat16
{
uint16_t data;
@@ -151,6 +153,7 @@ private:
return uint16_t(u.int32 >> 16) | (!(~u.int32 & 0x7f800000) && (u.int32 & 0xffff));
}
};
#pragma clang diagnostic pop
typedef struct
{