Edit

Share via


MPI_Win_delete_attr_function callback function

MPI_Win_delete_attr_function is a placeholder for the application-defined function name. This is a delete callback function for win_keyval.

Syntax

int MPI_Win_delete_attr_function(
           MPI_Win win,
           int     win_keyval,
  _In_     void    *attribute_val,
  _In_opt_ void    *extra_state
);

Parameters

  • win
    MPI window object.

  • win_keyval
    Window key value.

  • attribute_val [in]
    Attribute value.

  • extra_state [in, optional]
    Extra state.

Return value

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

Fortran

    SUBROUTINE WIN_DELETE_ATTR_FUNCTION(WIN, WIN_KEYVAL, ATTRIBUTE_VAL,
                EXTRA_STATE, IERROR)
        INTEGER WIN, WIN_KEYVAL, IERROR
        INTEGER(KIND=MPI_ADDRESS_KIND) ATTRIBUTE_VAL, EXTRA_STATE

Requirements

Header

Mpi.h; Mpif.h

See also

MPI Caching Functions

MPI_Win_create_keyval