Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Added SIMD directive to tp acceleration inner loop
  • Loading branch information
daminton committed Apr 13, 2021
1 parent 5ef47cf commit 2d497f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/whm/whm_getacch.f90
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ pure subroutine whm_getacch_ah3_tp(cb, pl, tp, xh)
if (ntp == 0) return
do i = 1, ntp
acc(:) = 0.0_DP
!$omp simd private(dx,rji2,irij3,fac) reduction(-:acc)
do j = 1, npl
dx(:) = xht(:, i) - xh(:, j)
rji2 = dot_product(dx(:), dx(:))
Expand Down

0 comments on commit 2d497f4

Please sign in to comment.