Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
MPI_Win_copy_attr_function is a placeholder for the application-defined function name. It is a copy callback function for win_keyval.
Syntax
int MPI_Win_copy_attr_function(
MPI_Win oldwin,
int win_keyval,
_In_opt_ void *extra_state,
_In_ void *attribute_val_in,
_Out_ void *attribute_val_out,
_Out_ int *flag
);
Parameters
oldwin
Old MPI window.win_keyval
Window key value.extra_state [in, optional]
Extra state.attribute_val_in [in]
Input value of the attribute.attribute_val_out [out]
Output value of the attribute.flag [out]
Flag value indicating if the copy was successful.
Return value
If an attribute copy function returns anything other than MPI_SUCCESS, then the call that caused it to be invoked is erroneous.
Fortran
SUBROUTINE WIN_COPY_ATTR_FUNCTION(OLDWIN, WIN_KEYVAL, EXTRA_STATE,
ATTRIBUTE_VAL_IN, ATTRIBUTE_VAL_OUT, FLAG, IERROR)
INTEGER OLDWIN, WIN_KEYVAL, IERROR
INTEGER(KIND=MPI_ADDRESS_KIND) EXTRA_STATE, ATTRIBUTE_VAL_IN,
ATTRIBUTE_VAL_OUT
LOGICAL FLAG
Requirements
Header |
Mpi.h; Mpif.h |