Edit

Share via


MPI_Type_delete_attr_function callback function

MPI_Type_delete_attr_function is a placeholder for the application-defined function name.

Syntax

int MPI_Type_delete_attr_function(
           MPI_Datatype datatype,
           int          datatype_keyval,
  _In_     void         *attribute_val,
  _In_opt_ void         *extra_state
);

Parameters

  • datatype
    Datatype.

  • datatype_keyval
    Key value.

  • attribute_val [in]
    Attribute value.

  • extra_state [in, optional]
    Extra state.

Return value

If an attribute delete function returns something other than MPI_SUCCESS, then the call that caused it to be invoked (for example, MPI_Type_free), is erroneous.

Fortran

    SUBROUTINE TYPE_DELETE_ATTR_FUNCTION(DATATYPE, TYPE_KEYVAL, ATTRIBUTE_VAL,
                EXTRA_STATE, IERROR)
        INTEGER DATATYPE, TYPE_KEYVAL, IERROR
        INTEGER(KIND=MPI_ADDRESS_KIND) ATTRIBUTE_VAL, EXTRA_STATE

Requirements

Header

Mpi.h; Mpif.h

See also

MPI Caching Functions

MPI_Type_create_keyval