(j3.2006) "Contiguous" doesn't quite do what I need

Bill Long longb
Mon Mar 26 13:28:40 EDT 2007

Aleksandar Donev wrote:

>As to the "more advanced compiler technology is needed to make any use of the 
>actual value in generating optimal code," I am pretty sure most compilers 
>have that for a 2x2 array, including Cray's. I would hope you use such info 
>in determining what to do with short loops or array statements over 
>dimensions of size 2...

I was referring to the case where the bounds were not visible at compile 
time.  The "advanced techniques" might include things like runtime 
feedback and dynamic recompilation.  Certainly, if the user writes 2,2 
almost any compiler can generate the right code.


Bill Long                                   longb at cray.com
Fortran Technical Support    &              voice: 651-605-9024
Bioinformatics Software Development         fax:   651-605-9142
Cray Inc., 1340 Mendota Heights Rd., Mendota Heights, MN, 55120


More information about the J3 mailing list