Skip to content

Commit

Permalink
Uncomment the de_advect_launch_parameters def.
Browse files Browse the repository at this point in the history
  • Loading branch information
brantr committed Jul 17, 2024
1 parent 0681c83 commit 7a4058c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/integrators/VL_3D_cuda.cu
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,8 @@ void VL_Algorithm_3D_CUDA(Real *d_conserved, Real *d_grav_potential, int nx, int
// Compute the divergence of Vel before updating the conserved array, this
// solves synchronization issues when adding this term on
// Update_Conserved_Variables_3D
// cuda_utilities::AutomaticLaunchParams static const de_advect_launch_params(Partial_Update_Advected_Internal_Energy_3D,
// n_cells);
cuda_utilities::AutomaticLaunchParams static const de_advect_launch_params(Partial_Update_Advected_Internal_Energy_3D,
n_cells);
hipLaunchKernelGGL(Partial_Update_Advected_Internal_Energy_3D, de_advect_launch_params.get_numBlocks(),
de_advect_launch_params.get_threadsPerBlock(), 0, 0, dev_conserved, Q_Lx, Q_Rx, Q_Ly, Q_Ry, Q_Lz,
Q_Rz, nx, ny, nz, n_ghost, dx, dy, dz, dt, gama, n_fields);
Expand Down

0 comments on commit 7a4058c

Please sign in to comment.