[CLR] Added missed ostream include to amd_hip_bfloat16.h (#2960)

This commit is contained in:
Alexandra Sidorova
2026-01-30 16:42:38 +04:00
committed by GitHub
szülő 20a745962f
commit 8800e03058
@@ -153,6 +153,8 @@ static_assert(__hip_internal::is_trivial<hip_bfloat16>{},
"hip_bfloat16 is not a trivial type, and thus is "
"incompatible with C.");
#if !defined(__HIPCC_RTC__)
#include <ostream>
static_assert(sizeof(hip_bfloat16) == sizeof(hip_bfloat16_public) &&
offsetof(hip_bfloat16, data) == offsetof(hip_bfloat16_public, data),
"internal hip_bfloat16 does not match public hip_bfloat16");