Group: comp.lang.fortran · Group Profile · Search for 100000000000000000000 in comp.lang.fortran
Author: Dick Hendrickson
Date: Jan 4, 2007 10:39
... to generate code equivalent to DO I = L,M DO N = J,K A(N,I) = 0 ENDDO**2 If the dimensions of A are [1000000000000000,2] that's good; if they're [2,100000000000000000000] the DO overhead in the inner loop dominates everything. 3.5) Maybe the compiler can prove that J:K,L:M runs over the entire array, in which case it can use a single equivalent DO ...
|