Skip to content

Commit 6806340

Browse files
author
Michael Abbott
committed
disable avx with dual numbers too?
This seems to be causing tests on 1.4 to fail, but not 1.5
1 parent 1e4673a commit 6806340

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/macro.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1071,7 +1071,8 @@ function make_many_actors(act!, args, ex1, outer::Vector, ex3, inner::Vector, ex
10711071
isempty(store.unsafeleft)
10721072
else # working on ∇act!
10731073
isempty(store.unsaferight) &&
1074-
store.redfun == :+ # Disable @avx for min/max grad, #53
1074+
store.redfun == :+ && # Disable @avx for min/max grad, #53
1075+
store.grad != :Dual # and for use with ForwardDiff
10751076
end
10761077

10771078
if safe && store.avx != false && isdefined(store.mod, :LoopVectorization)

0 commit comments

Comments
 (0)