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]
Tento commit je obsažen v:
Benjamin Welton authored and GitHub committed 2024-10-07 15:58:41 -07:00
1 rodič cbf61d5a66
revize c69cb447ee
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