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_Type_copy_attr_function is a placeholder for the application-defined function name.
Syntax
int MPI_Type_copy_attr_function(
MPI_Datatype olddatatype,
int datatype_keyval,
_In_opt_ void *extra_state,
_In_ void *attribute_val_in,
_Out_ void *attribute_val_out,
_Out_ int *flag
);
Parameters
olddatatype
Old datatype.datatype_keyval
Key value to copy.extra_state [in, optional]
Extra state.attribute_val_in [in]
Input attribute value.attribute_val_out [out]
Output attribute value.flag [out]
Value indicating the success of the copy operation.
Return value
If an attribute copy function returns something other than MPI_SUCCESS, then the call that caused it to be invoked (for example, MPI_Type_create_keyval), is erroneous.
Fortran
SUBROUTINE TYPE_COPY_ATTR_FUNCTION(OLDTYPE, TYPE_KEYVAL, EXTRA_STATE,
ATTRIBUTE_VAL_IN, ATTRIBUTE_VAL_OUT, FLAG, IERROR)
INTEGER OLDTYPE, TYPE_KEYVAL, IERROR
INTEGER(KIND=MPI_ADDRESS_KIND) EXTRA_STATE,
ATTRIBUTE_VAL_IN, ATTRIBUTE_VAL_OUT
LOGICAL FLAG
Requirements
Header |
Mpi.h; Mpif.h |