coll/libnbc: Add assertion for NBC_A2A_DISS
Persistent operation for `NBC_A2A_DISS` is not supported currently. Though the algorithm is not selected at all currently, I put an assertion not to select it by mistake. Signed-off-by: KAWASHIMA Takahiro <t-kawashima@jp.fujitsu.com>
Этот коммит содержится в:
родитель
0b8b0f8393
Коммит
5c21903477
@ -118,7 +118,10 @@ static int nbc_ialltoall(const void* sendbuf, int sendcount, MPI_Datatype sendty
|
|||||||
return OMPI_ERR_OUT_OF_RESOURCE;
|
return OMPI_ERR_OUT_OF_RESOURCE;
|
||||||
}
|
}
|
||||||
} else if (alg == NBC_A2A_DISS) {
|
} else if (alg == NBC_A2A_DISS) {
|
||||||
/* only A2A_DISS needs buffers */
|
/* persistent operation is not supported currently for this algorithm;
|
||||||
|
* we need to replace PMPI_Pack, PMPI_Unpack, and mempcy */
|
||||||
|
assert(! persistent);
|
||||||
|
|
||||||
if(NBC_Type_intrinsic(sendtype)) {
|
if(NBC_Type_intrinsic(sendtype)) {
|
||||||
datasize = sndext * sendcount;
|
datasize = sndext * sendcount;
|
||||||
} else {
|
} else {
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user