Minor cleanup in the sm BTL. http://www.open-mpi.org/community/lists/devel/2009/06/6363.php
This commit was SVN r21556.
Этот коммит содержится в:
родитель
656ec00611
Коммит
fcd9fabae9
@ -731,7 +731,7 @@ int mca_btl_sm_sendi( struct mca_btl_base_module_t* btl,
|
||||
mca_btl_sm_frag_t* frag;
|
||||
int rc;
|
||||
|
||||
if ( mca_btl_sm_component.num_outstanding_frags * 2 > mca_btl_sm_component.fifo_size ) {
|
||||
if ( mca_btl_sm_component.num_outstanding_frags * 2 > (int) mca_btl_sm_component.fifo_size ) {
|
||||
mca_btl_sm_component_progress();
|
||||
}
|
||||
|
||||
@ -809,7 +809,7 @@ int mca_btl_sm_send( struct mca_btl_base_module_t* btl,
|
||||
mca_btl_sm_frag_t* frag = (mca_btl_sm_frag_t*)descriptor;
|
||||
int rc;
|
||||
|
||||
if ( mca_btl_sm_component.num_outstanding_frags * 2 > mca_btl_sm_component.fifo_size ) {
|
||||
if ( mca_btl_sm_component.num_outstanding_frags * 2 > (int) mca_btl_sm_component.fifo_size ) {
|
||||
mca_btl_sm_component_progress();
|
||||
}
|
||||
|
||||
|
@ -429,9 +429,6 @@ int mca_btl_sm_component_progress(void)
|
||||
MCA_BTL_SM_FIFO_WRITE(
|
||||
mca_btl_sm_component.sm_peers[peer_smp_rank],
|
||||
my_smp_rank, peer_smp_rank, hdr->frag, false, true, rc);
|
||||
#if 0
|
||||
my_smp_rank, peer_smp_rank, hdr->frag, false, rc);
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
case MCA_BTL_SM_FRAG_ACK:
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user