2009-06-10 18:57:28 +04:00
|
|
|
/* -*- Mode: C; c-basic-offset:4 ; -*- */
|
|
|
|
/*
|
|
|
|
* Copyright (c) 2009 Sun Microsystems, Inc. All rights reserved.
|
|
|
|
* $COPYRIGHT$
|
2015-06-24 06:59:57 +03:00
|
|
|
*
|
2009-06-10 18:57:28 +04:00
|
|
|
* Additional copyrights may follow
|
2015-06-24 06:59:57 +03:00
|
|
|
*
|
2009-06-10 18:57:28 +04:00
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
#ifndef OMPI_REQUEST_DBG_H
|
|
|
|
#define OMPI_REQUEST_DBG_H
|
|
|
|
|
|
|
|
/*
|
|
|
|
* This file contains definitions used by both OMPI and debugger plugins.
|
2015-06-24 06:59:57 +03:00
|
|
|
* For more information on why we do this see the Notice to developers
|
2009-06-10 18:57:28 +04:00
|
|
|
* comment at the top of the ompi_msgq_dll.c file.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Enum inidicating the type of the request
|
|
|
|
*/
|
|
|
|
typedef enum {
|
|
|
|
OMPI_REQUEST_PML, /**< MPI point-to-point request */
|
|
|
|
OMPI_REQUEST_IO, /**< MPI-2 IO request */
|
|
|
|
OMPI_REQUEST_GEN, /**< MPI-2 generalized request */
|
|
|
|
OMPI_REQUEST_WIN, /**< MPI-2 one-sided request */
|
2012-06-27 19:58:17 +04:00
|
|
|
OMPI_REQUEST_COLL, /**< MPI-3 non-blocking collectives request */
|
2009-06-10 18:57:28 +04:00
|
|
|
OMPI_REQUEST_NULL, /**< NULL request */
|
|
|
|
OMPI_REQUEST_NOOP, /**< A request that does nothing (e.g., to PROC_NULL) */
|
2013-10-02 18:26:40 +04:00
|
|
|
OMPI_REQUEST_COMM, /**< MPI-3 non-blocking communicator duplication */
|
2009-06-10 18:57:28 +04:00
|
|
|
OMPI_REQUEST_MAX /**< Maximum request type */
|
|
|
|
} ompi_request_type_t;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Enum indicating the state of the request
|
|
|
|
*/
|
|
|
|
typedef enum {
|
|
|
|
/** Indicates that the request should not be progressed */
|
|
|
|
OMPI_REQUEST_INVALID,
|
|
|
|
/** A defined, but inactive request (i.e., it's valid, but should
|
|
|
|
not be progressed) */
|
|
|
|
OMPI_REQUEST_INACTIVE,
|
|
|
|
/** A valid and progressing request */
|
|
|
|
OMPI_REQUEST_ACTIVE,
|
|
|
|
/** The request has been cancelled */
|
|
|
|
OMPI_REQUEST_CANCELLED
|
|
|
|
} ompi_request_state_t;
|
|
|
|
|
|
|
|
#endif
|