This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [FORTRAN] Avoid allocating unused WHERE masks
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: Roger Sayle <roger at eyesopen dot com>
- Cc: fortran at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Mon, 6 Feb 2006 10:01:48 -0800
- Subject: Re: [FORTRAN] Avoid allocating unused WHERE masks
- References: <Pine.LNX.4.44.0602060804210.29187-100000@www.eyesopen.com>
On Mon, Feb 06, 2006 at 08:27:25AM -0700, Roger Sayle wrote:
>
> SteveK, could you retry the code you mentioned to see whether the
> increased memory requirements you observed have now been resolved?
>
I'll have to dig out the code, which fortunately is under cvs
control. The log message is
* Update bhtecs.f90 to use start/stop times for each ring application.
This allows dead time between the rings, which permits cooling. Also,
replace a WHERE statement with a nested DO-loop and IF-THEN-ELSE
construct because the WHERE statement allocated/deallocated the needed
space for the mask. Ouch.
I won't have time to test the changes until this weekend, but I
should be able to review the new patch in the next day of two.
--
Steve