clang-18 build fix for RCCL (#1123)

Removes ambiguity on const usage, which clang-18 complains about
(preventing build with warn error).
This commit is contained in:
Benjamin Welton
2024-10-07 15:58:41 -07:00
committad av GitHub
förälder a3b41d04fc
incheckning b46966e96b
@@ -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