@@ -102,26 +102,26 @@ static inline int mscclppNcclDlopenInit() {
102102 }
103103
104104 NCCL_DLSYM (mscclppNcclOps, mscclppNcclDlHandle, nccl, CommInitRank,
105- ncclResult_t (*)(ncclComm_t*, int , ncclUniqueId, int ));
106- NCCL_DLSYM (mscclppNcclOps, mscclppNcclDlHandle, nccl, GetUniqueId, ncclResult_t (*)(ncclUniqueId*));
107- NCCL_DLSYM (mscclppNcclOps, mscclppNcclDlHandle, nccl, CommDestroy, ncclResult_t (*)(ncclComm_t));
108- NCCL_DLSYM (mscclppNcclOps, mscclppNcclDlHandle, nccl, CommUserRank, ncclResult_t (*)(ncclComm_t, int *));
105+ ncclResult_t (*)(ncclComm_t*, int , ncclUniqueId, int ));
106+ NCCL_DLSYM (mscclppNcclOps, mscclppNcclDlHandle, nccl, GetUniqueId, ncclResult_t (*)(ncclUniqueId*));
107+ NCCL_DLSYM (mscclppNcclOps, mscclppNcclDlHandle, nccl, CommDestroy, ncclResult_t (*)(ncclComm_t));
108+ NCCL_DLSYM (mscclppNcclOps, mscclppNcclDlHandle, nccl, CommUserRank, ncclResult_t (*)(ncclComm_t, int *));
109109 NCCL_DLSYM (mscclppNcclOps, mscclppNcclDlHandle, nccl, AllReduce,
110- ncclResult_t (*)(const void *, void *, size_t , ncclDataType_t, ncclRedOp_t, ncclComm_t, cudaStream_t));
110+ ncclResult_t (*)(const void *, void *, size_t , ncclDataType_t, ncclRedOp_t, ncclComm_t, cudaStream_t));
111111 NCCL_DLSYM (mscclppNcclOps, mscclppNcclDlHandle, nccl, AllGather,
112- ncclResult_t (*)(const void *, void *, size_t , ncclDataType_t, ncclComm_t, cudaStream_t));
112+ ncclResult_t (*)(const void *, void *, size_t , ncclDataType_t, ncclComm_t, cudaStream_t));
113113 NCCL_DLSYM (mscclppNcclOps, mscclppNcclDlHandle, nccl, Broadcast,
114- ncclResult_t (*)(const void *, void *, size_t , ncclDataType_t, int , ncclComm_t, cudaStream_t));
114+ ncclResult_t (*)(const void *, void *, size_t , ncclDataType_t, int , ncclComm_t, cudaStream_t));
115115 NCCL_DLSYM (mscclppNcclOps, mscclppNcclDlHandle, nccl, ReduceScatter,
116- ncclResult_t (*)(const void *, void *, size_t , ncclDataType_t, ncclRedOp_t, ncclComm_t, cudaStream_t));
116+ ncclResult_t (*)(const void *, void *, size_t , ncclDataType_t, ncclRedOp_t, ncclComm_t, cudaStream_t));
117117 NCCL_DLSYM (mscclppNcclOps, mscclppNcclDlHandle, nccl, Reduce,
118- ncclResult_t (*)(const void *, void *, size_t , ncclDataType_t, ncclRedOp_t, int , ncclComm_t, cudaStream_t));
118+ ncclResult_t (*)(const void *, void *, size_t , ncclDataType_t, ncclRedOp_t, int , ncclComm_t, cudaStream_t));
119119 NCCL_DLSYM (mscclppNcclOps, mscclppNcclDlHandle, nccl, Send,
120- ncclResult_t (*)(const void *, size_t , ncclDataType_t, int , ncclComm_t, cudaStream_t));
120+ ncclResult_t (*)(const void *, size_t , ncclDataType_t, int , ncclComm_t, cudaStream_t));
121121 NCCL_DLSYM (mscclppNcclOps, mscclppNcclDlHandle, nccl, Recv,
122- ncclResult_t (*)(void *, size_t , ncclDataType_t, int , ncclComm_t, cudaStream_t));
123- NCCL_DLSYM (mscclppNcclOps, mscclppNcclDlHandle, nccl, GroupStart, ncclResult_t (*)());
124- NCCL_DLSYM (mscclppNcclOps, mscclppNcclDlHandle, nccl, GroupEnd, ncclResult_t (*)());
122+ ncclResult_t (*)(void *, size_t , ncclDataType_t, int , ncclComm_t, cudaStream_t));
123+ NCCL_DLSYM (mscclppNcclOps, mscclppNcclDlHandle, nccl, GroupStart, ncclResult_t (*)());
124+ NCCL_DLSYM (mscclppNcclOps, mscclppNcclDlHandle, nccl, GroupEnd, ncclResult_t (*)());
125125
126126 return dlopenSuccess;
127127}
0 commit comments