This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gfortran] Patch for potential bug in i/o library
- From: Thomas Koenig <Thomas dot Koenig at online dot de>
- To: GNU GFortran <fortran at gcc dot gnu dot org>,GCC patches <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 5 Jun 2005 23:28:04 +0200
- Subject: Re: [gfortran] Patch for potential bug in i/o library
- References: <20050605211528.GA15931@vipunen.hut.fi>
Janne Blomqvist wrote:
> I guess the key to improving i/o performance would
> be to make the library interface more coarse grained, e.g. enabling
> transfer of contigous array sections in one go instead of looping over
> all the individual elements?
Definitely. For arrays, it would be straightforward to pass an
array descriptor to the i/o library, and have it handled there.
Lots of m4 to be written :-) Implied do loops will be harder,
but not as important. If these can be converted to an
array descriptor (sort of, using temporaries), that would be ideal.