Skip to content

Commit 7c3dcb7

Browse files
authored
SWDEV-520627 - include warp functions header for warpSize (#177)
Change-Id: Id3fff8f2722d521071ef0ff71b09fc365ef6fa82 [ROCm/clr commit: 588cf0f]
1 parent e9e207d commit 7c3dcb7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

projects/clr/hipamd/include/hip/amd_detail/amd_hip_bf16.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@
114114
#include "device_library_decls.h" // ocml conversion functions
115115
#include "math_fwd.h" // ocml device functions
116116
#if defined(__clang__) and defined(__HIP__)
117+
#include <hip/amd_detail/amd_warp_functions.h> // define warpSize
117118
#include <hip/amd_detail/amd_warp_sync_functions.h> // Sync functions
118119
#endif
119120
#endif // !defined(__HIPCC_RTC__)

0 commit comments

Comments
 (0)