Fix build issues caused by 2.24.3 sync (#118)

[ROCm/rccl-tests commit: a4fd8f4667]
This commit is contained in:
Rahul Vaidya
2025-04-28 10:22:38 -05:00
committed by GitHub
parent 3f962f5d58
commit 10c31fb05f
3 changed files with 12 additions and 1 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
* @wenkaidu @gilbertlee-amd @akolliasAMD @edgargabriel @PedramAlizadeh @nusislam @nileshnegi @KawtharShafie @AtlantaPepsi @mberenjk @corey-derochie-amd @mustafabar @thananon @JhaShweta1 @haripriya-amd
* @wenkaidu @gilbertlee-amd @akolliasAMD @edgargabriel @PedramAlizadeh @nusislam @nileshnegi @KawtharShafie @AtlantaPepsi @mberenjk @corey-derochie-amd @mustafabar @thananon @JhaShweta1 @rahulvaidya20 @haripriya-amd
# Documentation files
doc/ @ROCm/rocm-documentation
+6
View File
@@ -22,6 +22,12 @@
#include <fstream>
#include <iostream>
// Ensures backward compatibility for FP8 types in RCCL 2.24.3 and later
#if NCCL_VERSION_CODE >= NCCL_VERSION(2,24,3)
#define ncclFp8E4M3 ncclFloat8e4m3
#define ncclFp8E5M2 ncclFloat8e5m2
#endif
// For nccl.h < 2.13 since we define a weak fallback
extern "C" char const* ncclGetLastError(ncclComm_t comm);
@@ -23,6 +23,11 @@
#if NCCL_VERSION_CODE >= NCCL_VERSION(2,10,0) && RCCL_FLOAT8 == 1
#define HAVE_ncclfp8 1
// Ensures backward compatibility for FP8 types in RCCL 2.24.3 and later
#if NCCL_VERSION_CODE >= NCCL_VERSION(2,24,3)
#define ncclFp8E4M3 ncclFloat8e4m3
#define ncclFp8E5M2 ncclFloat8e5m2
#endif
#else
#define HAVE_ncclfp8 0
#endif