Removed the unused ompi_request_[waiting, completed, failed, poll] variable.
Signed-off-by: Thananon Patinyasakdikul <tpatinya@utk.edu>
Этот коммит содержится в:
родитель
b25a8c3fa5
Коммит
6c5553c23c
@ -84,10 +84,6 @@ struct mpidbg_name_map_t *mpidbg_status_name_map = NULL;
|
||||
* cases like the above with compilers that require the symbol (like
|
||||
* Sun Studio) we add in these definitions here.
|
||||
*/
|
||||
size_t ompi_request_completed;
|
||||
opal_condition_t ompi_request_cond;
|
||||
size_t ompi_request_waiting;
|
||||
opal_mutex_t ompi_request_lock;
|
||||
opal_mutex_t opal_event_lock;
|
||||
int opal_progress_spin_count;
|
||||
bool opal_mutex_check_locks;
|
||||
|
@ -1059,10 +1059,6 @@ static void dump_request( mqs_taddr_t current_item, mqs_pending_operation *res )
|
||||
printf( "+===============================================+\n\n" );
|
||||
}
|
||||
|
||||
/**
|
||||
* TODO: ompi_request_completed can be used to detect any changes in the request handles.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Handle the send queue as well as the receive queue. The unexpected queue
|
||||
* is a whole different story ...
|
||||
|
@ -33,9 +33,6 @@
|
||||
#include "ompi/constants.h"
|
||||
|
||||
opal_pointer_array_t ompi_request_f_to_c_table = {{0}};
|
||||
size_t ompi_request_waiting = 0;
|
||||
size_t ompi_request_completed = 0;
|
||||
size_t ompi_request_failed = 0;
|
||||
ompi_predefined_request_t ompi_request_null = {{{{{0}}}}};
|
||||
ompi_predefined_request_t *ompi_request_null_addr = &ompi_request_null;
|
||||
ompi_request_t ompi_request_empty = {{{{0}}}};
|
||||
|
@ -315,10 +315,6 @@ typedef struct ompi_request_fns_t {
|
||||
* Globals used for tracking requests and request completion.
|
||||
*/
|
||||
OMPI_DECLSPEC extern opal_pointer_array_t ompi_request_f_to_c_table;
|
||||
OMPI_DECLSPEC extern size_t ompi_request_waiting;
|
||||
OMPI_DECLSPEC extern size_t ompi_request_completed;
|
||||
OMPI_DECLSPEC extern size_t ompi_request_failed;
|
||||
OMPI_DECLSPEC extern int32_t ompi_request_poll;
|
||||
OMPI_DECLSPEC extern ompi_predefined_request_t ompi_request_null;
|
||||
OMPI_DECLSPEC extern ompi_predefined_request_t *ompi_request_null_addr;
|
||||
OMPI_DECLSPEC extern ompi_request_t ompi_request_empty;
|
||||
@ -430,10 +426,6 @@ static inline int ompi_request_complete(ompi_request_t* request, bool with_signa
|
||||
}
|
||||
} else
|
||||
request->req_complete = REQUEST_COMPLETED;
|
||||
|
||||
if( OPAL_UNLIKELY(MPI_SUCCESS != request->req_status.MPI_ERROR) ) {
|
||||
ompi_request_failed++;
|
||||
}
|
||||
}
|
||||
|
||||
return OMPI_SUCCESS;
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user