Displaying 2 results from an estimated 2 matches for "ibdd".
Did you mean:
bdd
2012 Feb 15
2
[LLVMdev] Performance problems with FORTRAN allocatable arrays
...yword.
For example if you have something like the following:
DOUBLE PRECISION,ALLOCATABLE,DIMENSION(:,:,:,:) :: QAV
...
ALLOCATE( QAV( -2:IMAX+2,-2:JMAX+2,-2:KMAX+2,ND) )
...
DO L = 1, 5
DO K = K1, K2
DO J = J1, J2
DO I = I1, I2
II = I + IADD
IBD = II - IBDD
ICD = II + IBDD
QAV(I,J,K,L) = R6I * (2.0D0 * Q(IBD,J,K,L,N) +
> 5.0D0 * Q( II,J,K,L,N) -
> Q(ICD,J,K,L,N))
END DO
END DO
END DO
END DO
Most of the code needed to calcul...
2012 Feb 15
0
[LLVMdev] Performance problems with FORTRAN allocatable arrays
...g:
>
> DOUBLE PRECISION,ALLOCATABLE,DIMENSION(:,:,:,:) :: QAV
> ...
> ALLOCATE( QAV( -2:IMAX+2,-2:JMAX+2,-2:KMAX+2,ND) )
> ...
> DO L = 1, 5
> DO K = K1, K2
> DO J = J1, J2
> DO I = I1, I2
> II = I + IADD
> IBD = II - IBDD
> ICD = II + IBDD
>
> QAV(I,J,K,L) = R6I * (2.0D0 * Q(IBD,J,K,L,N) +
>> 5.0D0 * Q( II,J,K,L,N) -
>> Q(ICD,J,K,L,N))
> END DO
> END DO
> END...