Skip to content

Commit 598f5a5

Browse files
sbryngelsonSpencer Bryngelsonclaude
authored
Remove dead ACC loop directives in s_derive_center_of_mass (#1282)
Co-authored-by: Spencer Bryngelson <sbryngelson@login10.frontier.olcf.ornl.gov> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent d1047e5 commit 598f5a5

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

src/simulation/m_derived_variables.fpp

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -428,13 +428,7 @@ contains
428428
real(wp) :: tmp, tmp_out !< Temporary variable to store quantity for mpi_allreduce
429429
real(wp) :: dV !< Discrete cell volume
430430

431-
$:GPU_LOOP(parallelism='[seq]')
432-
do i = 1, num_fluids
433-
$:GPU_LOOP(parallelism='[seq]')
434-
do j = 1, 5
435-
c_m(i, j) = 0.0_wp
436-
end do
437-
end do
431+
c_m(:, :) = 0.0_wp
438432

439433
$:GPU_UPDATE(device='[c_m]')
440434

0 commit comments

Comments
 (0)