Skip to content

Commit 88ad74e

Browse files
author
Daniel Vickers
committed
Fixed 3D STL test on Cray
1 parent e88cb81 commit 88ad74e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/simulation/m_ib_patches.fpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -892,7 +892,7 @@ contains
892892
real(wp), dimension(1:3, 1:3) :: inverse_rotation, rotation
893893
integer :: cx, cy, cz
894894
real(wp) :: lx(2), ly(2), lz(2)
895-
real(wp), dimension(1:3) :: bbox_min, bbox_max, local_corner, world_corner
895+
real(wp), dimension(1:3) :: bbox_min, bbox_max, local_corner, world_corner, test
896896
897897
center = 0._wp
898898
center(1) = patch_ib(patch_id)%x_centroid
@@ -1120,9 +1120,9 @@ contains
11201120
end if
11211121
end do
11221122
1123-
$:GPU_ENTER_DATA(copyin='[gpu_ntrs, gpu_trs_v, gpu_trs_n, gpu_boundary_edge_count, gpu_total_vertices]')
1123+
$:GPU_UPDATE(device='[gpu_ntrs, gpu_trs_v, gpu_trs_n, gpu_boundary_edge_count, gpu_total_vertices]')
11241124
if (allocated(gpu_boundary_v)) then
1125-
$:GPU_ENTER_DATA(copyin='[gpu_boundary_v]')
1125+
$:GPU_UPDATE(device='[gpu_boundary_v]')
11261126
end if
11271127
end if
11281128
end block

0 commit comments

Comments
 (0)