1
1

Merge pull request #5416 from kawashima-fj/pr/coll-libnbc-suppress-warnings

coll/libnbc: Suppress compiler warnings
Этот коммит содержится в:
KAWASHIMA Takahiro 2018-07-12 15:45:59 +09:00 коммит произвёл GitHub
родитель 98aba03632 37a05e74aa
Коммит c87a3df0c9
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -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++) {