Remove the fprintf statements.
This commit was SVN r3308.
Этот коммит содержится в:
родитель
2d54712b37
Коммит
542630ad68
@ -48,10 +48,6 @@ int mca_pml_teg_isend(void *buf,
|
||||
{
|
||||
int rc;
|
||||
mca_pml_base_send_request_t *sendreq;
|
||||
/* debug */
|
||||
fprintf(stderr," teg_isend called \n");
|
||||
fflush(stderr);
|
||||
/* end debug */
|
||||
MCA_PML_TEG_SEND_REQUEST_ALLOC(comm, dst, sendreq, rc);
|
||||
#if MCA_PML_TEG_STATISTICS
|
||||
mca_pml_teg.teg_isends++;
|
||||
@ -87,10 +83,6 @@ int mca_pml_teg_send(void *buf,
|
||||
#endif
|
||||
if (rc != OMPI_SUCCESS)
|
||||
return rc;
|
||||
/* debug */
|
||||
fprintf(stderr," teg_send called \n");
|
||||
fflush(stderr);
|
||||
/* end debug */
|
||||
|
||||
MCA_PML_BASE_SEND_REQUEST_INIT(sendreq,
|
||||
buf,
|
||||
@ -98,12 +90,6 @@ int mca_pml_teg_send(void *buf,
|
||||
datatype,
|
||||
dst, tag, comm, sendmode, false);
|
||||
|
||||
/* debug */
|
||||
fprintf(stderr," teg_send called %s %s \n",
|
||||
&(sendreq->req_ptl->ptl_component->ptlm_version.mca_type_name[0]),
|
||||
&(sendreq->req_ptl->ptl_component->ptlm_version.mca_component_name[0]));
|
||||
fflush(stderr);
|
||||
/* end debug */
|
||||
if ((rc = mca_pml_teg_send_request_start(sendreq)) != OMPI_SUCCESS) {
|
||||
MCA_PML_TEG_FREE((ompi_request_t **) & sendreq);
|
||||
return rc;
|
||||
|
@ -43,26 +43,13 @@ OBJ_CLASS_DECLARATION(mca_pml_teg_send_request_t);
|
||||
OMPI_THREAD_LOCK(&ptl_base->ptl_cache_lock); \
|
||||
sendreq = (mca_pml_base_send_request_t*) \
|
||||
ompi_list_remove_first(&ptl_base->ptl_cache); \
|
||||
/* debug */ \
|
||||
fprintf(stderr," alloc %d cached %d \n", \
|
||||
ptl_base->ptl_cache_alloc,ptl_base->ptl_cache_size); \
|
||||
fflush(stderr); \
|
||||
/* end debug */ \
|
||||
if(NULL != sendreq) { \
|
||||
/* debug */ \
|
||||
fprintf(stderr," request cached \n"); \
|
||||
fflush(stderr); \
|
||||
/* end debug */ \
|
||||
OMPI_THREAD_UNLOCK(&ptl_base->ptl_cache_lock); \
|
||||
rc = OMPI_SUCCESS; \
|
||||
} else if (ptl_base->ptl_cache_alloc < ptl_base->ptl_cache_size) { \
|
||||
/* \
|
||||
* allocate an additional request to the cache \
|
||||
*/ \
|
||||
/* debug */ \
|
||||
fprintf(stderr," allocate additional \n"); \
|
||||
fflush(stderr); \
|
||||
/* end debug */ \
|
||||
mca_ptl_base_module_t* ptl = ptl_base->ptl; \
|
||||
ompi_list_item_t* item; \
|
||||
OMPI_FREE_LIST_WAIT(&mca_pml_teg.teg_send_requests, item, rc); \
|
||||
@ -77,10 +64,6 @@ OBJ_CLASS_DECLARATION(mca_pml_teg_send_request_t);
|
||||
/* \
|
||||
* take a request from the global pool \
|
||||
*/ \
|
||||
/* debug */ \
|
||||
fprintf(stderr," global pool \n"); \
|
||||
fflush(stderr); \
|
||||
/* end debug */ \
|
||||
ompi_list_item_t* item; \
|
||||
OMPI_THREAD_UNLOCK(&ptl_base->ptl_cache_lock); \
|
||||
OMPI_FREE_LIST_WAIT(&mca_pml_teg.teg_send_requests, item, rc); \
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user