SWDEV-312141 - Fix to avoid shadow compilation warning (#2556)
Change-Id: Ie327ec5eb3f3314b24aa512ce180760f18ee5348
This commit is contained in:
zatwierdzone przez
GitHub
rodzic
4526de0855
commit
8da8fc1be9
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user