Skip to content

Commit da7c460

Browse files
author
rhc54
committed
Merge pull request #57 from rolfv/pr/disable-gpu-sendi
Disable sendi optimization for GPU buffers
2 parents 39b0309 + a8925f8 commit da7c460

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ompi/mca/btl/openib/btl_openib.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1834,6 +1834,13 @@ int mca_btl_openib_sendi( struct mca_btl_base_module_t* btl,
18341834
goto cant_send;
18351835
}
18361836

1837+
#if OPAL_CUDA_GDR_SUPPORT
1838+
/* We do not want to use this path when we have GDR support */
1839+
if (convertor->flags & CONVERTOR_CUDA) {
1840+
goto cant_send;
1841+
}
1842+
#endif /* OPAL_CUDA_GDR_SUPPORT */
1843+
18371844
/* Allocate WQE */
18381845
if(OPAL_UNLIKELY(qp_get_wqe(ep, qp) < 0)) {
18391846
goto no_credits_or_wqe;

0 commit comments

Comments
 (0)