upc_localsizeof

Date:

06-15-2011

NAME

upc_localsizeof - Returns size of the local portion of its operand

SYNOPSIS

upc_localsizeof unary-expression

upc_localsizeof (type-name)

IMPLEMENTATION

Cray Linux Environment (CLE)

DESCRIPTION

The upc_localsizeof operator returns the size, in bytes, of the local portion of its operand, which may be a shared object or a shared-qualified type. It returns the same value on all threads; the value is the maximum of the size allocated to objects with affinity to any single thread.

The type of the result is size_t.

This operator applies only to shared objects or shared-qualified types. It cannot be applied to an expression that has function type or an incomplete type, to the parenthesized name of such a type, or to an L-value that designates a bit-field object.

SEE ALSO

upc_blocksizeof(3c), upc_elemsizeof(3c)