We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cc326b commit 8d9e60fCopy full SHA for 8d9e60f
ompi/mca/coll/cuda/coll_cuda_reduce.c
@@ -55,7 +55,7 @@ mca_coll_cuda_reduce(const void *sbuf, void *rbuf, int count,
55
sbuf = sbuf1 - gap;
56
}
57
58
- if (rank == root) {
+ if ((rank == root) && (opal_cuda_check_bufs((char *)rbuf, NULL))) {
59
rbuf1 = (char*)malloc(bufsize);
60
if (NULL == rbuf1) {
61
if (NULL != sbuf1) free(sbuf1);
0 commit comments