cray_upc_op_free

Date:

09-23-2013

NAME

cray_upc_op_free - Free a user-defined UPC operation

SYNOPSIS

#include <upc_collective_cray.h>

cray_upc_return_t cray_upc_op_free( upc_opt_t op );

IMPLEMENTATION

Cray Linux Environment (CLE)

DESCRIPTION

The cray_upc_op_free function disassociates a user-defined function with its upc_op_t(3c) value, freeing it up for reuse. Once freed, that value must not be reused unless it is once again returned by cray_upc_op_create(3c).

RETURN VALUE

The cray_upc_op_free function returns CRAY_UPC_SUCCESS if it successfully freed the user-defined operation, or CRAY_UPC_ERROR if an error occurred.

SEE ALSO

cray_upc_dtype_t,(3c), cray_upc_op_create(3c), cray_upc_user_fun(3c), upc_op_t(3c)