⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 orte_types.h

📁 MPI stands for the Message Passing Interface. Written by the MPI Forum (a large committee comprising
💻 H
字号:
/* * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana *                         University Research and Technology *                         Corporation.  All rights reserved. * Copyright (c) 2004-2005 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-2005 The Regents of the University of California. *                         All rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow * * $HEADER$ *//** @file */#ifndef ORTE_TYPES_H#define ORTE_TYPES_H#include "orte_config.h"#ifdef HAVE_SYS_TYPES_H#include <sys/types.h>#endif/** * Supported datatypes for messaging and storage operations. */typedef uint8_t orte_data_type_t;  /** data type indicators used in ORTE */#define ORTE_DATA_TYPE_T    ORTE_UINT8#define ORTE_DSS_ID_MAX     UINT8_MAX#define ORTE_DSS_ID_INVALID ORTE_DSS_ID_MAXtypedef int32_t orte_std_cntr_t;  /** standard counters used in ORTE */#define ORTE_STD_CNTR_T         ORTE_INT32#define ORTE_STD_CNTR_MAX       INT32_MAX#define ORTE_STD_CNTR_MIN       INT32_MIN#define ORTE_STD_CNTR_INVALID   -1/* define a structure to hold generic byte objects */typedef struct {    orte_std_cntr_t size;    uint8_t *bytes;} orte_byte_object_t;/** * handle differences in iovec */#if defined(__APPLE__) || defined(__WINDOWS__)typedef char* orte_iov_base_ptr_t;#elsetypedef void* orte_iov_base_ptr_t;#endif#define    ORTE_UNDEF               (orte_data_type_t)    0 /**< type hasn't been defined yet */#define    ORTE_BYTE                (orte_data_type_t)    1 /**< a byte of data */#define    ORTE_BOOL                (orte_data_type_t)    2 /**< boolean */#define    ORTE_STRING              (orte_data_type_t)    3 /**< a NULL terminated string */#define    ORTE_SIZE                (orte_data_type_t)    4 /**< the generic size_t */#define    ORTE_PID                 (orte_data_type_t)    5 /**< process pid */    /* all the integer flavors */#define    ORTE_INT                 (orte_data_type_t)    6 /**< generic integer */#define    ORTE_INT8                (orte_data_type_t)    7 /**< an 8-bit integer */#define    ORTE_INT16               (orte_data_type_t)    8 /**< a 16-bit integer */#define    ORTE_INT32               (orte_data_type_t)    9 /**< a 32-bit integer */#define    ORTE_INT64               (orte_data_type_t)   10 /**< a 64-bit integer */    /* all the unsigned integer flavors */#define    ORTE_UINT                (orte_data_type_t)   11 /**< generic unsigned integer */#define    ORTE_UINT8               (orte_data_type_t)   12 /**< an 8-bit unsigned integer */#define    ORTE_UINT16              (orte_data_type_t)   13 /**< a 16-bit unsigned integer */#define    ORTE_UINT32              (orte_data_type_t)   14 /**< a 32-bit unsigned integer */#define    ORTE_UINT64              (orte_data_type_t)   15 /**< a 64-bit unsigned integer */    /* we don't support floating point types */    /* orte-specific typedefs - grouped according to the subystem that handles     * their packing/unpacking */    /* General types - packing/unpacking handled within DSS */#define    ORTE_BYTE_OBJECT         (orte_data_type_t)   16 /**< byte object structure */#define    ORTE_DATA_TYPE           (orte_data_type_t)   17 /**< data type */#define    ORTE_NULL                (orte_data_type_t)   18 /**< don't interpret data type */#define    ORTE_DATA_VALUE          (orte_data_type_t)   19 /**< data value */#define    ORTE_ARITH_OP            (orte_data_type_t)   20 /**< arithmetic operation flag */#define    ORTE_STD_CNTR            (orte_data_type_t)   21 /**< standard counter type */    /* Name Service types */#define    ORTE_NAME                (orte_data_type_t)   22 /**< an orte_process_name_t */#define    ORTE_VPID                (orte_data_type_t)   23 /**< a vpid */#define    ORTE_JOBID               (orte_data_type_t)   24 /**< a jobid */#define    ORTE_PSET                (orte_data_type_t)   25 /**< a process set */#define    ORTE_CELLID              (orte_data_type_t)   26 /**< a cellid */#define    ORTE_NODEID              (orte_data_type_t)   27 /**< a node id */    /* SMR types */#define    ORTE_NODE_STATE          (orte_data_type_t)   28 /**< node status flag */#define    ORTE_PROC_STATE          (orte_data_type_t)   29 /**< process/resource status */#define    ORTE_PSET_STATE          (orte_data_type_t)   30 /**< process set state */#define    ORTE_JOB_STATE           (orte_data_type_t)   31 /**< job status flag */#define    ORTE_EXIT_CODE           (orte_data_type_t)   32 /**< process exit code */    /* GPR types */#define    ORTE_GPR_KEYVAL          (orte_data_type_t)   33 /**< registry key-value pair */#define    ORTE_GPR_NOTIFY_ACTION   (orte_data_type_t)   34 /**< registry notify action */#define    ORTE_GPR_TRIGGER_ACTION  (orte_data_type_t)   35 /**< registry trigger action */#define    ORTE_GPR_CMD             (orte_data_type_t)   36 /**< registry command */#define    ORTE_GPR_SUBSCRIPTION_ID (orte_data_type_t)   37 /**< registry notify id tag */#define    ORTE_GPR_TRIGGER_ID      (orte_data_type_t)   38 /**< registry notify id tag */#define    ORTE_GPR_VALUE           (orte_data_type_t)   39 /**< registry return value */#define    ORTE_GPR_ADDR_MODE       (orte_data_type_t)   40 /**< Addressing mode for registry cmds */#define    ORTE_GPR_SUBSCRIPTION    (orte_data_type_t)   41 /**< describes data returned by subscription */#define    ORTE_GPR_TRIGGER         (orte_data_type_t)   42 /**< describes trigger conditions */#define    ORTE_GPR_NOTIFY_DATA     (orte_data_type_t)   43 /**< data returned from a subscription */#define    ORTE_GPR_NOTIFY_MSG      (orte_data_type_t)   44 /**< notify message containing notify_data objects */#define    ORTE_GPR_NOTIFY_MSG_TYPE (orte_data_type_t)   45 /**< notify message type (subscription or trigger) */#define    ORTE_GPR_SEARCH          (orte_data_type_t)   46 /**< search criteria */#define    ORTE_GPR_UPDATE          (orte_data_type_t)   47 /**< update data on the registry *//* Resource Manager types */#define    ORTE_APP_CONTEXT         (orte_data_type_t)   48 /**< argv and enviro arrays */#define    ORTE_APP_CONTEXT_MAP     (orte_data_type_t)   49 /**< application context mapping array */#define    ORTE_NODE_DESC           (orte_data_type_t)   50 /**< describes capabilities of nodes */#define    ORTE_CELL_DESC           (orte_data_type_t)   51 /**< describe attributes of cells */#define    ORTE_SLOT_DESC           (orte_data_type_t)   52 /**< describes slot allocations/reservations */#define    ORTE_RAS_NODE			(orte_data_type_t)	 53 /**< node information */#define    ORTE_JOB_MAP             (orte_data_type_t)   54 /**< map of process locations */#define    ORTE_MAPPED_PROC         (orte_data_type_t)   55 /**< process entry on map */#define    ORTE_MAPPED_NODE         (orte_data_type_t)   56 /**< node entry on map */#define    ORTE_ATTRIBUTE           (orte_data_type_t)   57 /**< attribute used to control framework behavior */#define    ORTE_ATTR_LIST           (orte_data_type_t)   58 /**< list of attributes */    /* DAEMON communication type */#define    ORTE_DAEMON_CMD          (orte_data_type_t)   59 /**< command flag for communicating with the daemon *//* define the starting point for dynamically assigning data types */#define ORTE_DSS_ID_DYNAMIC 70#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -