1 /* ---------------------------------------------------------------- */
2 /* (C)Copyright IBM Corp. 2007, 2008 */
3 /* ---------------------------------------------------------------- */
9 /* -*- Mode: C; c-basic-offset:4 ; -*- */
11 * Copyright (C) 1997 University of Chicago.
12 * See COPYRIGHT notice in top-level directory.
15 #ifndef AD_BGL_INCLUDE
16 #define AD_BGL_INCLUDE
20 #include <sys/types.h>
32 int ADIOI_BGL_aio(ADIO_File fd
, void *buf
, int len
, ADIO_Offset offset
,
33 int wr
, void *handle
);
36 void ADIOI_BGL_Open(ADIO_File fd
, int *error_code
);
38 void ADIOI_BGL_Close(ADIO_File fd
, int *error_code
);
40 void ADIOI_BGL_ReadContig(ADIO_File fd
, void *buf
, int count
,
41 MPI_Datatype datatype
, int file_ptr_type
,
42 ADIO_Offset offset
, ADIO_Status
*status
, int
44 void ADIOI_BGL_WriteContig(ADIO_File fd
, void *buf
, int count
,
45 MPI_Datatype datatype
, int file_ptr_type
,
46 ADIO_Offset offset
, ADIO_Status
*status
, int
49 void ADIOI_BGL_IwriteContig(ADIO_File fd
, void *buf
, int count
,
50 MPI_Datatype datatype
, int file_ptr_type
,
51 ADIO_Offset offset
, ADIO_Request
*request
, int
53 void ADIOI_BGL_IreadContig(ADIO_File fd
, void *buf
, int count
,
54 MPI_Datatype datatype
, int file_ptr_type
,
55 ADIO_Offset offset
, ADIO_Request
*request
, int
57 int ADIOI_BGL_ReadDone(ADIO_Request
*request
, ADIO_Status
*status
, int
59 int ADIOI_BGL_WriteDone(ADIO_Request
*request
, ADIO_Status
*status
, int
61 void ADIOI_BGL_ReadComplete(ADIO_Request
*request
, ADIO_Status
*status
, int
63 void ADIOI_BGL_WriteComplete(ADIO_Request
*request
, ADIO_Status
*status
,
66 void ADIOI_BGL_Fcntl(ADIO_File fd
, int flag
, ADIO_Fcntl_t
*fcntl_struct
, int
68 void ADIOI_BGL_SetInfo(ADIO_File fd
, MPI_Info users_info
, int *error_code
);
70 void ADIOI_BGL_WriteStrided(ADIO_File fd
, void *buf
, int count
,
71 MPI_Datatype datatype
, int file_ptr_type
,
72 ADIO_Offset offset
, ADIO_Status
*status
, int
74 void ADIOI_BGL_ReadStrided(ADIO_File fd
, void *buf
, int count
,
75 MPI_Datatype datatype
, int file_ptr_type
,
76 ADIO_Offset offset
, ADIO_Status
*status
, int
79 void ADIOI_BGL_ReadStridedColl(ADIO_File fd
, void *buf
, int count
,
80 MPI_Datatype datatype
, int file_ptr_type
,
81 ADIO_Offset offset
, ADIO_Status
*status
, int
84 void ADIOI_BGL_WriteStridedColl(ADIO_File fd
, void *buf
, int count
,
85 MPI_Datatype datatype
, int file_ptr_type
,
86 ADIO_Offset offset
, ADIO_Status
*status
, int
89 void ADIOI_BGL_Get_shared_fp(ADIO_File fd
, int size
, ADIO_Offset
*shared_fp
, int *error_code
);
90 void ADIOI_BGL_Set_shared_fp(ADIO_File fd
, ADIO_Offset offset
, int *error_code
);
92 void ADIOI_BGL_Flush(ADIO_File fd
, int *error_code
);
94 #include "ad_bgl_tuning.h"