6ed255f114
all but buffered and persistent requests. Unfortunately we were note able to reuse the pml_base_request_t as it was just too heavy for our needs. Lots of code for 2/10 usec ;-) This commit was SVN r10810.
31 строка
728 B
C
31 строка
728 B
C
/*
|
|
* Copyright (c) 2004-2006 The Regents of the University of California.
|
|
* All rights reserved.
|
|
* $COPYRIGHT$
|
|
*
|
|
* Additional copyrights may follow
|
|
*
|
|
* $HEADER$
|
|
*/
|
|
|
|
#include "ompi_config.h"
|
|
|
|
#include "ompi/request/request.h"
|
|
#include "ompi/mca/pml/base/pml_base_request.h"
|
|
|
|
#include "pml_cm.h"
|
|
#include "pml_cm_sendreq.h"
|
|
#include "pml_cm_recvreq.h"
|
|
|
|
int
|
|
mca_pml_cm_cancel(struct ompi_request_t *request, int flag)
|
|
{
|
|
int ret;
|
|
/* mca_pml_cm_request_t *base_request = */
|
|
/* (mca_pml_cm_request_t*) request; */
|
|
/* ret = OMPI_MTL_CALL(cancel(ompi_mtl, */
|
|
/* &base_request->req_mtl, */
|
|
/* flag)); */
|
|
return ret;
|
|
}
|