📄 io.h
字号:
struct ompi_datatype_t *filetype, char *datarep, struct ompi_info_t *info);typedef int (*mca_io_base_module_file_get_view_fn_t) (struct ompi_file_t *fh, MPI_Offset *disp, struct ompi_datatype_t **etype, struct ompi_datatype_t **filetype, char *datarep);typedef int (*mca_io_base_module_file_read_at_fn_t) (struct ompi_file_t *fh, MPI_Offset offset, void *buf, int count, struct ompi_datatype_t *datatype, struct ompi_status_public_t *status);typedef int (*mca_io_base_module_file_read_at_all_fn_t) (struct ompi_file_t *fh, MPI_Offset offset, void *buf, int count, struct ompi_datatype_t *datatype, struct ompi_status_public_t *status);typedef int (*mca_io_base_module_file_write_at_fn_t) (struct ompi_file_t *fh, MPI_Offset offset, void *buf, int count, struct ompi_datatype_t *datatype, struct ompi_status_public_t *status);typedef int (*mca_io_base_module_file_write_at_all_fn_t) (struct ompi_file_t *fh, MPI_Offset offset, void *buf, int count, struct ompi_datatype_t *datatype, struct ompi_status_public_t *status);typedef int (*mca_io_base_module_file_iread_at_fn_t) (struct ompi_file_t *fh, MPI_Offset offset, void *buf, int count, struct ompi_datatype_t *datatype, struct mca_io_base_request_t *request);typedef int (*mca_io_base_module_file_iwrite_at_fn_t) (struct ompi_file_t *fh, MPI_Offset offset, void *buf, int count, struct ompi_datatype_t *datatype, struct mca_io_base_request_t *request);typedef int (*mca_io_base_module_file_read_fn_t) (struct ompi_file_t *fh, void *buf, int count, struct ompi_datatype_t * datatype, struct ompi_status_public_t *status); typedef int (*mca_io_base_module_file_read_all_fn_t) (struct ompi_file_t *fh, void *buf, int count, struct ompi_datatype_t * datatype, struct ompi_status_public_t *status); typedef int (*mca_io_base_module_file_write_fn_t) (struct ompi_file_t *fh, void *buf, int count, struct ompi_datatype_t * datatype, struct ompi_status_public_t *status);typedef int (*mca_io_base_module_file_write_all_fn_t) (struct ompi_file_t *fh, void *buf, int count, struct ompi_datatype_t * datatype, struct ompi_status_public_t *status);typedef int (*mca_io_base_module_file_iread_fn_t) (struct ompi_file_t *fh, void *buf, int count, struct ompi_datatype_t * datatype, struct mca_io_base_request_t *request); typedef int (*mca_io_base_module_file_iwrite_fn_t) (struct ompi_file_t *fh, void *buf, int count, struct ompi_datatype_t *datatype, struct mca_io_base_request_t *request);typedef int (*mca_io_base_module_file_seek_fn_t) (struct ompi_file_t *fh, MPI_Offset offset, int whence);typedef int (*mca_io_base_module_file_get_position_fn_t) (struct ompi_file_t *fh, MPI_Offset *offset);typedef int (*mca_io_base_module_file_get_byte_offset_fn_t) (struct ompi_file_t *fh, MPI_Offset offset, MPI_Offset *disp);typedef int (*mca_io_base_module_file_read_shared_fn_t) (struct ompi_file_t *fh, void *buf, int count, struct ompi_datatype_t *datatype, struct ompi_status_public_t *status);typedef int (*mca_io_base_module_file_write_shared_fn_t) (struct ompi_file_t *fh, void *buf, int count, struct ompi_datatype_t *datatype, struct ompi_status_public_t *status);typedef int (*mca_io_base_module_file_iread_shared_fn_t) (struct ompi_file_t *fh, void *buf, int count, struct ompi_datatype_t *datatype, struct mca_io_base_request_t *request);typedef int (*mca_io_base_module_file_iwrite_shared_fn_t) (struct ompi_file_t *fh, void *buf, int count, struct ompi_datatype_t *datatype, struct mca_io_base_request_t *request);typedef int (*mca_io_base_module_file_read_ordered_fn_t) (struct ompi_file_t *fh, void *buf, int count, struct ompi_datatype_t *datatype, struct ompi_status_public_t *status);typedef int (*mca_io_base_module_file_write_ordered_fn_t) (struct ompi_file_t *fh, void *buf, int count, struct ompi_datatype_t *datatype, struct ompi_status_public_t *status);typedef int (*mca_io_base_module_file_seek_shared_fn_t) (struct ompi_file_t *fh, MPI_Offset offset, int whence);typedef int (*mca_io_base_module_file_get_position_shared_fn_t) (struct ompi_file_t *fh, MPI_Offset *offset);typedef int (*mca_io_base_module_file_read_at_all_begin_fn_t) (struct ompi_file_t *fh, MPI_Offset offset, void *buf, int count, struct ompi_datatype_t *datatype);typedef int (*mca_io_base_module_file_read_at_all_end_fn_t) (struct ompi_file_t *fh, void *buf, struct ompi_status_public_t *status);typedef int (*mca_io_base_module_file_write_at_all_begin_fn_t) (struct ompi_file_t *fh, MPI_Offset offset, void *buf, int count, struct ompi_datatype_t *datatype);typedef int (*mca_io_base_module_file_write_at_all_end_fn_t) (struct ompi_file_t *fh, void *buf, struct ompi_status_public_t *status);typedef int (*mca_io_base_module_file_read_all_begin_fn_t) (struct ompi_file_t *fh, void *buf, int count, struct ompi_datatype_t *datatype);typedef int (*mca_io_base_module_file_read_all_end_fn_t) (struct ompi_file_t *fh, void *buf, struct ompi_status_public_t *status);typedef int (*mca_io_base_module_file_write_all_begin_fn_t) (struct ompi_file_t *fh, void *buf, int count, struct ompi_datatype_t *datatype);typedef int (*mca_io_base_module_file_write_all_end_fn_t) (struct ompi_file_t *fh, void *buf, struct ompi_status_public_t *status);typedef int (*mca_io_base_module_file_read_ordered_begin_fn_t) (struct ompi_file_t *fh, void *buf, int count, struct ompi_datatype_t *datatype);typedef int (*mca_io_base_module_file_read_ordered_end_fn_t) (struct ompi_file_t *fh, void *buf, struct ompi_status_public_t *status);typedef int (*mca_io_base_module_file_write_ordered_begin_fn_t) (struct ompi_file_t *fh, void *buf, int count, struct ompi_datatype_t *datatype);typedef int (*mca_io_base_module_file_write_ordered_end_fn_t) (struct ompi_file_t *fh, void *buf, struct ompi_status_public_t *status);typedef int (*mca_io_base_module_file_get_type_extent_fn_t) (struct ompi_file_t *fh, struct ompi_datatype_t *datatype, MPI_Aint *extent);typedef int (*mca_io_base_module_file_set_atomicity_fn_t) (struct ompi_file_t *fh, int flag);typedef int (*mca_io_base_module_file_get_atomicity_fn_t) (struct ompi_file_t *fh, int *flag);typedef int (*mca_io_base_module_file_sync_fn_t)(struct ompi_file_t *fh);struct mca_io_base_module_1_0_0_t { /** Once-per-process request initializtion function */ mca_io_base_module_request_once_init_fn_t io_module_request_once_init; /** Once-per-process request finalization function */ mca_io_base_module_request_once_finalize_fn_t io_module_request_once_finalize; /** Free a request (per usage) */ ompi_request_free_fn_t io_module_request_free; /** Cancel a request (per usage) */ ompi_request_cancel_fn_t io_module_request_cancel; /* Back-ends to MPI API calls (pretty much a 1-to-1 mapping) */ mca_io_base_module_file_open_fn_t io_module_file_open; mca_io_base_module_file_close_fn_t io_module_file_close; mca_io_base_module_file_set_size_fn_t io_module_file_set_size; mca_io_base_module_file_preallocate_fn_t io_module_file_preallocate; mca_io_base_module_file_get_size_fn_t io_module_file_get_size; mca_io_base_module_file_get_amode_fn_t io_module_file_get_amode; mca_io_base_module_file_set_info_fn_t io_module_file_set_info; mca_io_base_module_file_get_info_fn_t io_module_file_get_info; mca_io_base_module_file_set_view_fn_t io_module_file_set_view; mca_io_base_module_file_get_view_fn_t io_module_file_get_view; mca_io_base_module_file_read_at_fn_t io_module_file_read_at; mca_io_base_module_file_read_at_all_fn_t io_module_file_read_at_all; mca_io_base_module_file_write_at_fn_t io_module_file_write_at; mca_io_base_module_file_write_at_all_fn_t io_module_file_write_at_all; mca_io_base_module_file_iread_at_fn_t io_module_file_iread_at; mca_io_base_module_file_iwrite_at_fn_t io_module_file_iwrite_at; mca_io_base_module_file_read_fn_t io_module_file_read; mca_io_base_module_file_read_all_fn_t io_module_file_read_all; mca_io_base_module_file_write_fn_t io_module_file_write; mca_io_base_module_file_write_all_fn_t io_module_file_write_all; mca_io_base_module_file_iread_fn_t io_module_file_iread; mca_io_base_module_file_iwrite_fn_t io_module_file_iwrite; mca_io_base_module_file_seek_fn_t io_module_file_seek; mca_io_base_module_file_get_position_fn_t io_module_file_get_position; mca_io_base_module_file_get_byte_offset_fn_t io_module_file_get_byte_offset; mca_io_base_module_file_read_shared_fn_t io_module_file_read_shared; mca_io_base_module_file_write_shared_fn_t io_module_file_write_shared; mca_io_base_module_file_iread_shared_fn_t io_module_file_iread_shared; mca_io_base_module_file_iwrite_shared_fn_t io_module_file_iwrite_shared; mca_io_base_module_file_read_ordered_fn_t io_module_file_read_ordered; mca_io_base_module_file_write_ordered_fn_t io_module_file_write_ordered; mca_io_base_module_file_seek_shared_fn_t io_module_file_seek_shared; mca_io_base_module_file_get_position_shared_fn_t io_module_file_get_position_shared; mca_io_base_module_file_read_at_all_begin_fn_t io_module_file_read_at_all_begin; mca_io_base_module_file_read_at_all_end_fn_t io_module_file_read_at_all_end; mca_io_base_module_file_write_at_all_begin_fn_t io_module_file_write_at_all_begin; mca_io_base_module_file_write_at_all_end_fn_t io_module_file_write_at_all_end; mca_io_base_module_file_read_all_begin_fn_t io_module_file_read_all_begin; mca_io_base_module_file_read_all_end_fn_t io_module_file_read_all_end; mca_io_base_module_file_write_all_begin_fn_t io_module_file_write_all_begin; mca_io_base_module_file_write_all_end_fn_t io_module_file_write_all_end; mca_io_base_module_file_read_ordered_begin_fn_t io_module_file_read_ordered_begin; mca_io_base_module_file_read_ordered_end_fn_t io_module_file_read_ordered_end; mca_io_base_module_file_write_ordered_begin_fn_t io_module_file_write_ordered_begin; mca_io_base_module_file_write_ordered_end_fn_t io_module_file_write_ordered_end; mca_io_base_module_file_get_type_extent_fn_t io_module_file_get_type_extent; mca_io_base_module_file_set_atomicity_fn_t io_module_file_set_atomicity; mca_io_base_module_file_get_atomicity_fn_t io_module_file_get_atomicity; mca_io_base_module_file_sync_fn_t io_module_file_sync;};typedef struct mca_io_base_module_1_0_0_t mca_io_base_module_1_0_0_t;/* * All module versions */union mca_io_base_modules_t { mca_io_base_module_1_0_0_t v1_0_0;};typedef union mca_io_base_modules_t mca_io_base_modules_t;#endif /* MCA_IO_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -