Skip to content

Commit 67f74c0

Browse files
committed
fix: add GPU_DECLARE/GPU_UPDATE for fluid_pp (required for non-Newtonian GPU builds)
1 parent d5b86df commit 67f74c0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/simulation/m_global_parameters.fpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,7 @@ module m_global_parameters
326326
! Fluids Physical Parameters
327327

328328
type(physical_parameters), dimension(num_fluids_max) :: fluid_pp !< Stiffened gas EOS parameters and Reynolds numbers per fluid
329+
$:GPU_DECLARE(create='[fluid_pp]')
329330
! Subgrid Bubble Parameters
330331
type(subgrid_bubble_physical_parameters) :: bub_pp
331332
integer :: fd_order !< Finite-difference order for CoM and flow probe derivatives
@@ -1057,6 +1058,7 @@ contains
10571058
end do
10581059
10591060
$:GPU_UPDATE(device='[Re_size, Re_size_max, shear_stress, bulk_stress, any_non_newtonian]')
1061+
$:GPU_UPDATE(device='[fluid_pp]')
10601062
10611063
! Bookkeeping the indexes of any viscous fluids and any pairs of fluids whose interface will support effects of surface
10621064
! tension

0 commit comments

Comments
 (0)