typesize_support.h

来自「fortran并行计算包」· C头文件 代码 · 共 29 行

H
29
字号
/* -*- Mode: C; c-basic-offset:4 ; -*- *//* *  (C) 2001 by Argonne National Laboratory. *      See COPYRIGHT in top-level directory. */#ifndef TYPESIZE_SUPPORT_H#define TYPESIZE_SUPPORT_H#include "dataloop.h"#define DLOOP_Type_footprint PREPEND_PREFIX(Type_footprint)typedef struct PREPEND_PREFIX(Type_footprint_s) {    DLOOP_Offset size, extent;    /* these are only needed for calculating footprint of types     * built using this type. no reason to expose these.     */    DLOOP_Offset lb, ub, alignsz;    DLOOP_Offset true_lb, true_ub;    int has_sticky_lb;    int has_sticky_ub;} DLOOP_Type_footprint;void PREPEND_PREFIX(Type_calc_footprint)(MPI_Datatype type,					 DLOOP_Type_footprint *tfp);#endif

⌨️ 快捷键说明

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