This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [patch, fortran] Do loop (or index) interchange for FORALL and DO CONCURRENT, take 2
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: Thomas Koenig <tkoenig at netcologne dot de>
- Cc: "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 5 Nov 2017 09:08:23 -0800
- Subject: Re: [patch, fortran] Do loop (or index) interchange for FORALL and DO CONCURRENT, take 2
- Authentication-results: sourceware.org; auth=none
- References: <21703eb6-d9e7-c974-b1e9-25821dbe31f8@netcologne.de>
- Reply-to: sgk at troutmask dot apl dot washington dot edu
On Sun, Nov 05, 2017 at 12:03:29PM +0100, Thomas Koenig wrote:
> +
> +/* Code for index interchange for loops which are grouped together in DO
> + CONCURRENT or FORALL statements. This is currently only applied if the
> + iterations are grouped together in a single statement.
> +
> + For this transformation, tt is assumed that memory access in strides is
it is assumed
> + expensive, and that loops which access later indices (which access memory
> + in bigger strides) should be moved to the first loops.
Looks good to me with the typo fix.
--
steve