Skip to content

Commit 78235f8

Browse files
committed
pre-r
1 parent 3977e4c commit 78235f8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

multi/main.f90

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -669,15 +669,15 @@ program main
669669

670670

671671
! 5.3 update halos (y and z directions), required to then compute the RHS of Poisson equation because of staggered grid
672-
!$acc host_data use_device(ustar)
672+
!$acc host_data use_device(u)
673673
CHECK_CUDECOMP_EXIT(cudecompUpdateHalosX(handle, grid_desc, u, work_halo_d, CUDECOMP_DOUBLE, piX%halo_extents, halo_periods, 2))
674674
CHECK_CUDECOMP_EXIT(cudecompUpdateHalosX(handle, grid_desc, u, work_halo_d, CUDECOMP_DOUBLE, piX%halo_extents, halo_periods, 3))
675675
!$acc end host_data
676-
!$acc host_data use_device(vstar)
676+
!$acc host_data use_device(v)
677677
CHECK_CUDECOMP_EXIT(cudecompUpdateHalosX(handle, grid_desc, v, work_halo_d, CUDECOMP_DOUBLE, piX%halo_extents, halo_periods, 2))
678678
CHECK_CUDECOMP_EXIT(cudecompUpdateHalosX(handle, grid_desc, v, work_halo_d, CUDECOMP_DOUBLE, piX%halo_extents, halo_periods, 3))
679679
!$acc end host_data
680-
!$acc host_data use_device(wstar)
680+
!$acc host_data use_device(w)
681681
CHECK_CUDECOMP_EXIT(cudecompUpdateHalosX(handle, grid_desc, w, work_halo_d, CUDECOMP_DOUBLE, piX%halo_extents, halo_periods, 2))
682682
CHECK_CUDECOMP_EXIT(cudecompUpdateHalosX(handle, grid_desc, w, work_halo_d, CUDECOMP_DOUBLE, piX%halo_extents, halo_periods, 3))
683683
!$acc end host_data

0 commit comments

Comments
 (0)