Using hip_bf16.h instead of hip_bfloat16.h for the __bf16 intrinsic (#2037)
* Using hip_bf16.h instead of hip_bfloat16.h for the __bf16 intrinsic * Switching to hip_bf16.h from ROCm 6.0.0
Этот коммит содержится в:
1 родитель
277b6e9bac
Коммит
fb67e5b467
2 files changed
+8
-2
No files matched your search
@@ -11,7 +11,13 @@
|
||||
|
||||
#include "nccl.h"
|
||||
#include "rccl_float8.h"
|
||||
#include <hip/hip_bfloat16.h>
|
||||
#if ROCM_VERSION >= 60000
|
||||
// hip_bf16.h should be used from ROCm 6.0
|
||||
#include <hip/hip_bf16.h>
|
||||
typedef __hip_bfloat16 hip_bfloat16;
|
||||
#else
|
||||
#include <hip/hip_bfloat16.h>
|
||||
#endif
|
||||
#include "nccl_common.h"
|
||||
#include "bitops.h"
|
||||
#include "symmetric.h"
|
||||
|
||||
Reference in new issue
Block a user