openucx / xccl

Other
22 stars 14 forks source link

TCCL/UCX: fix error msg #4

Closed Sergei-Lebedev closed 4 years ago

Sergei-Lebedev commented 4 years ago

CI build warnings:

In file included from allreduce/allreduce_knomial.c:4:0:
./tccl_ucx_sendrecv.h: In function ‘tccl_ucx_send_nb’:
./tccl_ucx_sendrecv.h:40:28: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘uint32_t {aka unsigned int}’ [-Wformat=]
             fprintf(stderr,"Error in %s: tag %d; dest %d; worker_id"    \
                            ^
./tccl_ucx_sendrecv.h:40:28: note: in definition of macro ‘TEAM_UCX_CHECK_REQ_STATUS’
             fprintf(stderr,"Error in %s: tag %d; dest %d; worker_id"    \
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./tccl_ucx_sendrecv.h:118:5: note: in expansion of macro ‘TEAM_UCX_CHECK_SEND_REQ’
     TEAM_UCX_CHECK_SEND_REQ();