1
1
Jeff Squyres 4ab17f019b Rename src -> ompi
This commit was SVN r6269.
2005-07-02 13:43:57 +00:00

33 строки
780 B
C

/* -*- Mode: C; c-basic-offset:4 ; -*- */
/*
* $Id: gencheck.c,v 1.3 2002/10/24 17:01:14 gropp Exp $
*
* Copyright (C) 2002 University of Chicago.
* See COPYRIGHT notice in top-level directory.
*/
#include "adio.h"
/* we special-case TESTFS because all it does is wrap logging info around GEN */
int ADIOI_Uses_generic_read(ADIO_File fd)
{
ADIOI_Fns *fns = fd->fns;
if (fns->ADIOI_xxx_ReadStridedColl == ADIOI_GEN_ReadStridedColl ||
fd->file_system == ADIO_TESTFS )
{
return 1;
}
return 0;
}
int ADIOI_Uses_generic_write(ADIO_File fd)
{
ADIOI_Fns *fns = fd->fns;
if (fns->ADIOI_xxx_WriteStridedColl == ADIOI_GEN_WriteStridedColl ||
fd->file_system == ADIO_TESTFS )
{
return 1;
}
return 0;
}