Skip to content

Commit 287ff4c

Browse files
committed
Ensure that gfortran logdet benchmark can use SIMD log implementation.
1 parent 1a86804 commit 287ff4c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

benchmark/looptests.f90

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,7 @@ subroutine randomaccess(pp, P, basis, coefs, A, C) BIND(C, name="randomaccess")
331331
pp = pp + pc
332332
end do
333333
end subroutine randomaccess
334+
!GCC$ builtin (log) attributes simd (notinbranch) if('x86_64')
334335
subroutine logdettriangle(ld, T, N) BIND(C, name="logdettriangle")
335336
integer(C_long), intent(in) :: N
336337
real(C_double), intent(in) :: T(N,N)

0 commit comments

Comments
 (0)