diff --git a/Project.toml b/Project.toml index 08c26cc..2a0aae3 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "SimpleChains" uuid = "de6bee2f-e2f4-4ec7-b6ed-219cc6f6e9e5" authors = ["Chris Elrod and contributors"] -version = "0.4.0" +version = "0.4.1" [deps] ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9" diff --git a/src/forwarddiff_matmul.jl b/src/forwarddiff_matmul.jl index 583b0e9..8faea37 100644 --- a/src/forwarddiff_matmul.jl +++ b/src/forwarddiff_matmul.jl @@ -68,7 +68,7 @@ dualeval!( function dualeval!(f::F, Cdual::AbstractArray) where {F} dualeval!(f, @gc_preserve(vec(Cdual))) end -const MAX_NUM_LV_EXTRACT = isdefined(LoopVectorization, :EXTRACTFUNS) ? Int(length(LoopVectorization.EXTRACTFUNS)) : 14 +const MAX_NUM_LV_EXTRACT = isdefined(LoopVectorization, :EXTRACTFUNS) ? 32 : 14 @generated function dualeval!( f::F, Cdual::AbstractVector{D},