Merge pull request #5416 from kawashima-fj/pr/coll-libnbc-suppress-warnings
coll/libnbc: Suppress compiler warnings
Этот коммит содержится в:
Коммит
c87a3df0c9
@ -388,7 +388,8 @@ OBJ_CLASS_INSTANCE(ompi_coll_libnbc_module_t,
|
||||
static int
|
||||
request_start(size_t count, ompi_request_t ** requests)
|
||||
{
|
||||
int i, res;
|
||||
int res;
|
||||
size_t i;
|
||||
|
||||
NBC_DEBUG(5, " ** request_start **\n");
|
||||
|
||||
|
@ -50,7 +50,7 @@ static int nbc_alltoallv_init(const void* sendbuf, const int *sendcounts, const
|
||||
MPI_Aint sndext, rcvext;
|
||||
NBC_Schedule *schedule;
|
||||
char *rbuf, *sbuf, inplace;
|
||||
ptrdiff_t gap, span;
|
||||
ptrdiff_t gap = 0, span;
|
||||
void * tmpbuf = NULL;
|
||||
ompi_coll_libnbc_module_t *libnbc_module = (ompi_coll_libnbc_module_t*) module;
|
||||
|
||||
|
@ -294,7 +294,7 @@ static inline int a2aw_sched_pairwise(int rank, int p, NBC_Schedule *schedule,
|
||||
static inline int a2aw_sched_inplace(int rank, int p, NBC_Schedule *schedule,
|
||||
void *buf, const int *counts, const int *displs,
|
||||
struct ompi_datatype_t * const * types) {
|
||||
ptrdiff_t gap;
|
||||
ptrdiff_t gap = 0;
|
||||
int res;
|
||||
|
||||
for (int i = 1; i < (p+1)/2; i++) {
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user