You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a 2D array using indice notation for the first dimension and array notation for the second dimension claw expand is not able to expand it correctly.
Original code
!$ACC PARALLEL DEFAULT(NONE)
!$ACC LOOP GANG VECTOR
!$claw expand
pgcripr(jj,1:klev) = zgcripr(1:klev)
$claw end expand
$ACC END PARALLEL
Transformation code
!$ACC PARALLEL DEFAULT(NONE)
!$ACC LOOP GANG VECTOR
DO claw_induction_1 =1 , klev
pgcripr ( jj , 1 : klev ) = zgcripr ( claw_induction_1 )
END DO
!$ACC END PARALLEL
Expected code
!$ACC PARALLEL DEFAULT(NONE)
!$ACC LOOP GANG VECTOR
DO claw_induction_1 =1 , klev
pgcripr ( jj , claw_induction_1 ) = zgcripr ( claw_induction_1 )
END DO
!$ACC END PARALLEL
Execution of clawfc
# Command used to apply the transformation
Related issues (if any)
Issue #00
The text was updated successfully, but these errors were encountered:
When using a 2D array using indice notation for the first dimension and array notation for the second dimension claw expand is not able to expand it correctly.
Original code
Transformation code
Expected code
Execution of
clawfc
# Command used to apply the transformation
Related issues (if any)
Issue #00
The text was updated successfully, but these errors were encountered: