cray_upc_dtype_t

Date:

03-28-2013

NAME

cray_upc_dtype_t - UPC data types

DESCRIPTION

The following data types are defined for the Cray UPC Team reduction functions. They specify the data type of source and destination buffers. Each value has a corresponding C type.

-----------------------------------------------------------
CRAY_UPC_BYTE                   unsigned char
CRAY_UPC_CHAR                   char
CRAY_UPC_UCHAR                  unsigned char
CRAY_UPC_SHORT                  short
CRAY_UPC_USHORT                 unsigned short
CRAY_UPC_INT                    int
CRAY_UPC_UINT                   unsigned int
CRAY_UPC_LONG                   long
CRAY_UPC_ULONG                  unsigned long
CRAY_UPC_LONGLONG               long long
CRAY_UPC_ULONGLONG              unsigned long long
-----------------------------------------------------------

The following are floating point data types:

-----------------------------------------------------------
CRAY_UPC_FLOAT                  float
CRAY_UPC_DOUBLE                 double
CRAY_UPC_LONGDOUBLE             long double
CRAY_UPC_CPLX                   float complex
CRAY_UPC_DBLCPLX                double complex
CRAY_UPC_LONGDBLCPLX            long double complex
-----------------------------------------------------------

The following are structure data types:

-----------------------------------------------------------
CRAY_UPC_FLOAT_INT              struct {float, int}
CRAY_UPC_DOUBLE_INT             struct {double, int}
CRAY_UPC_LONG_INT               struct {long, int}
CRAY_UPC_2INT                   struct {int, int}
CRAY_UPC_SHORT_INT              struct {short, int}
CRAY_UPC_LONG_DOUBLE_INT        struct {long double, int}
-----------------------------------------------------------

NOTES

Not all operations are valid with all types. See upc_op_t(3c) for details.

SEE ALSO

cray_upc_team_allreduce(3c), cray_upc_team_reduce(3c), cray_upc_type_size(3c), cray_upc_user_fun(3c), upc_op_t(3c)