Helps compilation if all files are around..
This commit was SVN r10816.
Этот коммит содержится в:
родитель
50b5791969
Коммит
e0ed41f6ef
37
ompi/mca/pml/cm/pml_cm_request.c
Обычный файл
37
ompi/mca/pml/cm/pml_cm_request.c
Обычный файл
@ -0,0 +1,37 @@
|
||||
/*
|
||||
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
|
||||
* University Research and Technology
|
||||
* Corporation. All rights reserved.
|
||||
* Copyright (c) 2004-2006 The University of Tennessee and The University
|
||||
* of Tennessee Research Foundation. All rights
|
||||
* reserved.
|
||||
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
* University of Stuttgart. All rights reserved.
|
||||
* 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 "pml_cm.h"
|
||||
#include "pml_cm_request.h"
|
||||
|
||||
|
||||
static void mca_pml_cm_request_construct( mca_pml_cm_request_t* req) {
|
||||
OBJ_CONSTRUCT(&req->req_convertor, ompi_convertor_t);
|
||||
req->req_ompi.req_type = OMPI_REQUEST_PML;
|
||||
}
|
||||
|
||||
static void mca_pml_cm_request_destruct( mca_pml_cm_request_t* req) {
|
||||
OBJ_DESTRUCT(&req->req_convertor);
|
||||
}
|
||||
|
||||
OBJ_CLASS_INSTANCE(mca_pml_cm_request_t,
|
||||
ompi_request_t,
|
||||
mca_pml_cm_request_construct,
|
||||
mca_pml_cm_request_destruct);
|
54
ompi/mca/pml/cm/pml_cm_request.h
Обычный файл
54
ompi/mca/pml/cm/pml_cm_request.h
Обычный файл
@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
|
||||
* University Research and Technology
|
||||
* Corporation. All rights reserved.
|
||||
* Copyright (c) 2004-2006 The University of Tennessee and The University
|
||||
* of Tennessee Research Foundation. All rights
|
||||
* reserved.
|
||||
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
* University of Stuttgart. All rights reserved.
|
||||
* Copyright (c) 2004-2006 The Regents of the University of California.
|
||||
* All rights reserved.
|
||||
* $COPYRIGHT$
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
*
|
||||
* $HEADER$
|
||||
*/
|
||||
|
||||
#ifndef PML_CM_REQUEST_H
|
||||
#define PML_CM_REQUEST_H
|
||||
|
||||
#include "ompi/mca/pml/base/pml_base_sendreq.h"
|
||||
#include "ompi/mca/pml/base/pml_base_bsend.h"
|
||||
#include "ompi/mca/pml/pml.h"
|
||||
#include "ompi/mca/mtl/mtl.h"
|
||||
|
||||
/**
|
||||
* Type of request.
|
||||
*/
|
||||
typedef enum {
|
||||
MCA_PML_CM_REQUEST_NULL,
|
||||
MCA_PML_CM_REQUEST_SEND,
|
||||
MCA_PML_CM_REQUEST_RECV,
|
||||
MCA_PML_CM_REQUEST_IPROBE,
|
||||
MCA_PML_CM_REQUEST_PROBE
|
||||
} mca_pml_cm_request_type_t;
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Base type for PML CM P2P requests
|
||||
*/
|
||||
struct mca_pml_cm_request_t {
|
||||
ompi_request_t req_ompi; /**< base request */
|
||||
volatile bool req_pml_complete; /**< flag indicating if the pt-2-pt layer is done with this request */
|
||||
volatile bool req_free_called; /**< flag indicating if the user has freed this request */
|
||||
mca_pml_cm_request_type_t req_pml_type;
|
||||
ompi_convertor_t req_convertor; /**< always need the convertor */
|
||||
};
|
||||
typedef struct mca_pml_cm_request_t mca_pml_cm_request_t;
|
||||
OMPI_DECLSPEC OBJ_CLASS_DECLARATION(mca_pml_cm_request_t);
|
||||
|
||||
#endif
|
Загрузка…
x
Ссылка в новой задаче
Block a user