From 2b290953b0b6da33ccded42c364d53b39c9418f8 Mon Sep 17 00:00:00 2001 From: Jatin Chaudhary Date: Thu, 16 May 2024 17:45:30 +0100 Subject: [PATCH] SWDEV-462027 - bfloat162 struct members are public bfloat16 member is protected, bfloat162 members are public Change-Id: Ice090401553b9526cb34d003b3996b85d538bc4e --- hipamd/include/hip/amd_detail/amd_hip_bf16.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hipamd/include/hip/amd_detail/amd_hip_bf16.h b/hipamd/include/hip/amd_detail/amd_hip_bf16.h index 193ca9174b..cfaa5412a3 100644 --- a/hipamd/include/hip/amd_detail/amd_hip_bf16.h +++ b/hipamd/include/hip/amd_detail/amd_hip_bf16.h @@ -419,7 +419,7 @@ struct __attribute__((aligned(2))) __hip_bfloat16 { * @{ */ struct __attribute__((aligned(4))) __hip_bfloat162 { - protected: + public: __hip_bfloat16 x; /*! \brief raw representation of bfloat16 */ __hip_bfloat16 y; /*! \brief raw representation of bfloat16 */