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 authored and GitHub committed 2024-10-07 15:58:41 -07:00
1 parent a3b41d04fc
commit b46966e96b
1 file changed
+1 -1
@@ -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