clang-18 build fix for RCCL (#1123)

Removes ambiguity on const usage, which clang-18 complains about
(preventing build with warn error).

[ROCm/rocprofiler-sdk commit: b46966e96b]
Cette révision appartient à :
Benjamin Welton a créé et GitHub a révisé 2024-10-07 15:58:41 -07:00
1 Parent cbf61d5a66
révision c69cb447ee
1 fichier modifié
+1 -1
+1 -1
Voir le fichier
@@ -35,7 +35,7 @@ extern "C" {
/*! @brief Opaque handle to communicator
@details A communicator contains information required to facilitate collective communications
calls */
typedef struct ncclComm* ncclComm_t;
typedef const struct ncclComm* ncclComm_t;
#define NCCL_COMM_NULL NULL
#define NCCL_UNIQUE_ID_BYTES 128