Skip to content

Commit 5f174cc

Browse files
a-sidorovasystems-assistant[bot]
authored andcommitted
[CLR] Added missed ostream include to amd_hip_bfloat16.h
(#2960) [rocm-systems] ROCm/rocm-systems#2960 (commit 8800e03)
1 parent 51a523f commit 5f174cc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

hipamd/include/hip/amd_detail/amd_hip_bfloat16.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@ static_assert(__hip_internal::is_trivial<hip_bfloat16>{},
153153
"hip_bfloat16 is not a trivial type, and thus is "
154154
"incompatible with C.");
155155
#if !defined(__HIPCC_RTC__)
156+
#include <ostream>
157+
156158
static_assert(sizeof(hip_bfloat16) == sizeof(hip_bfloat16_public) &&
157159
offsetof(hip_bfloat16, data) == offsetof(hip_bfloat16_public, data),
158160
"internal hip_bfloat16 does not match public hip_bfloat16");

0 commit comments

Comments
 (0)