tapioca_f90api.h 619 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#include "tapioca.hpp"

extern "C" {
  void tapioca_init_ ( int64_t *chunkCount, int *chunkSize,
		       int64_t *chunkOffset, int* nChunks, int64_t* header, MPI_Fint* comm);
  
  void tapioca_set_aggregation_tier_ ( int* nBuffers, mem_t* mem, char* fileName );
  void tapioca_set_target_tier_ ( mem_t* mem, int64_t* buffSize, char* fileName );
  
  int tapioca_write_ ( MPI_Offset* offset, void* buf, int* count,
		       MPI_Fint* datatype, MPI_Status* status );
  
  int tapioca_read_ ( MPI_Offset* offset, void *buf, int* count,
		      MPI_Fint* datatype, MPI_Status *status );
  
  void tapioca_finalize_ ( );
}