2007-07-26 02:28:04 +04:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2004-2007 The Trustees of the University of Tennessee.
|
|
|
|
* All rights reserved.
|
|
|
|
* $COPYRIGHT$
|
|
|
|
*
|
|
|
|
* Additional copyrights may follow
|
|
|
|
*
|
|
|
|
* $HEADER$
|
|
|
|
*/
|
2007-07-21 01:36:11 +04:00
|
|
|
#include "ompi_config.h"
|
|
|
|
#include "vprotocol_pessimist.h"
|
|
|
|
|
|
|
|
mca_vprotocol_pessimist_module_t mca_vprotocol_pessimist =
|
|
|
|
{
|
|
|
|
{
|
|
|
|
/* mca_pml_base_module_add_procs_fn_t */ NULL,
|
|
|
|
/* mca_pml_base_module_del_procs_fn_t */ NULL,
|
2007-09-21 01:57:21 +04:00
|
|
|
/* mca_pml_base_module_enable_fn_f */ mca_vprotocol_pessimist_enable,
|
2008-03-28 00:19:45 +03:00
|
|
|
#ifdef SB_USE_PROGRESS_METHOD
|
|
|
|
/* mca_pml_base_module_progress_fn_t */ mca_vprotocol_pessimist_progress,
|
|
|
|
#else
|
|
|
|
/* mca_pml_base_module_progress_fn_t */ NULL,
|
|
|
|
#endif
|
2007-07-21 01:36:11 +04:00
|
|
|
/* mca_pml_base_module_add_comm_fn_t */ NULL,
|
|
|
|
/* mca_pml_base_module_del_comm_fn_t */ NULL,
|
|
|
|
/* mca_pml_base_module_irecv_init_fn_t */ NULL,
|
|
|
|
/* mca_pml_base_module_irecv_fn_t */ mca_vprotocol_pessimist_irecv,
|
|
|
|
/* mca_pml_base_module_recv_fn_t */ mca_vprotocol_pessimist_recv,
|
|
|
|
/* mca_pml_base_module_isend_init_fn_t */ NULL,
|
|
|
|
/* mca_pml_base_module_isend_fn_t */ mca_vprotocol_pessimist_isend,
|
|
|
|
/* mca_pml_base_module_send_fn_t */ mca_vprotocol_pessimist_send,
|
|
|
|
/* mca_pml_base_module_iprobe_fn_t */ mca_vprotocol_pessimist_iprobe,
|
|
|
|
/* mca_pml_base_module_probe_fn_t */ mca_vprotocol_pessimist_probe,
|
|
|
|
/* mca_pml_base_module_start_fn_t */ mca_vprotocol_pessimist_start,
|
|
|
|
/* mca_pml_base_module_dump_fn_t */ mca_vprotocol_pessimist_dump,
|
|
|
|
|
2007-12-07 11:17:30 +03:00
|
|
|
/* ompi_request_test_fn_t */ mca_vprotocol_pessimist_test,
|
|
|
|
/* ompi_request_testany_fn_t */ mca_vprotocol_pessimist_test_any,
|
|
|
|
/* ompi_request_testall_fn_t */ mca_vprotocol_pessimist_test_all,
|
|
|
|
/* ompi_request_testsome_fn_t */ mca_vprotocol_pessimist_test_some,
|
|
|
|
/* ompi_request_wait_fn_t */ NULL,
|
|
|
|
/* ompi_request_waitany_fn_t */ mca_vprotocol_pessimist_wait_any,
|
|
|
|
/* ompi_request_waitall_fn_t */ NULL,
|
|
|
|
/* ompi_request_waitsome_fn_t */ mca_vprotocol_pessimist_wait_some,
|
|
|
|
|
2007-07-21 01:36:11 +04:00
|
|
|
/* opal_class_t * */ OBJ_CLASS(mca_vprotocol_pessimist_recv_request_t),
|
|
|
|
/* opal_class_t * */ OBJ_CLASS(mca_vprotocol_pessimist_send_request_t),
|
|
|
|
},
|
|
|
|
};
|
|
|
|
|
|
|
|
int mca_vprotocol_pessimist_dump(struct ompi_communicator_t* comm, int verbose)
|
|
|
|
{
|
2007-07-31 21:12:21 +04:00
|
|
|
V_OUTPUT_VERBOSE(verbose, "vprotocol_pessimist: dump for comm %d", comm->c_contextid);
|
2007-07-21 01:36:11 +04:00
|
|
|
return mca_pml_v.host_pml.pml_dump(comm, verbose);
|
|
|
|
}
|