Skip to content

Commit

Permalink
reduce MAX_NUM_LV_EXTRACT
Browse files Browse the repository at this point in the history
  • Loading branch information
chriselrod committed Oct 21, 2022
1 parent 8d1ecf5 commit ceb63ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "SimpleChains"
uuid = "de6bee2f-e2f4-4ec7-b6ed-219cc6f6e9e5"
authors = ["Chris Elrod <[email protected]> and contributors"]
version = "0.4.0"
version = "0.4.1"

[deps]
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
Expand Down
2 changes: 1 addition & 1 deletion src/forwarddiff_matmul.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down

0 comments on commit ceb63ae

Please sign in to comment.