@@ -145,9 +145,9 @@ module m_cbc
145145!$acc declare create(uz_in, uz_out, vz_in, vz_out, wz_in, wz_out, presz_in, presz_out, Delz_in, Delz_out)
146146
147147#ifdef CRAY_ACC_WAR
148- @:CRAY_DECLARE_GLOBAL(real (kind (0d0 )), dimension (:, :, : ), alpha_rhox_in, alphax_in)
149- @:CRAY_DECLARE_GLOBAL(real (kind (0d0 )), dimension (:, :, : ), alpha_rhoy_in, alphay_in)
150- @:CRAY_DECLARE_GLOBAL(real (kind (0d0 )), dimension (:, :, : ), alpha_rhoz_in, alphaz_in)
148+ @:CRAY_DECLARE_GLOBAL(real (kind (0d0 )), dimension (:), alpha_rhox_in, alphax_in)
149+ @:CRAY_DECLARE_GLOBAL(real (kind (0d0 )), dimension (:), alpha_rhoy_in, alphay_in)
150+ @:CRAY_DECLARE_GLOBAL(real (kind (0d0 )), dimension (:), alpha_rhoz_in, alphaz_in)
151151 !$acc declare link(alpha_rhox_in, alphax_in, alpha_rhoy_in, alphay_in, alpha_rhoz_in, alphaz_in)
152152#else
153153 real (kind (0d0 )), allocatable, dimension (:) :: alpha_rhox_in, alphax_in
@@ -495,7 +495,7 @@ contains
495495 end do
496496 !$acc update device(u${XYZ}$_in, v${XYZ}$_in, w${XYZ}$_in, u${XYZ}$_out, v${XYZ}$_out, w${XYZ}$_out)
497497 !$acc update device(pres${XYZ}$_in, pres${XYZ}$_out, alpha_rho${XYZ}$_in, alpha${XYZ}$_in)
498- !$acc update device(Del${XYZ}_in, Del${XYZ}_out)
498+ !$acc update device(Del${XYZ}$ _in, Del${XYZ}$ _out)
499499
500500 #:endfor
501501
0 commit comments