Skip to content

Commit

Permalink
Unconditional max_methods=1 (#462)
Browse files Browse the repository at this point in the history
* Unconditional max_methods=1

* Bump version
  • Loading branch information
chriselrod authored Jan 25, 2023
1 parent 46d3333 commit b4424f8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "LoopVectorization"
uuid = "bdcacae8-1622-11e9-2a5c-532679323890"
authors = ["Chris Elrod <[email protected]>"]
version = "0.12.147"
version = "0.12.148"

[deps]
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
Expand Down
5 changes: 5 additions & 0 deletions src/LoopVectorization.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
module LoopVectorization

if isdefined(Base, :Experimental) &&
isdefined(Base.Experimental, Symbol("@max_methods"))
@eval Base.Experimental.@max_methods 1
end

using ArrayInterfaceCore: UpTri, LoTri
using Static: StaticInt, gt, static, Zero, One, reduce_tup
using VectorizationBase,
Expand Down

2 comments on commit b4424f8

@chriselrod
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/76336

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.12.148 -m "<description of version>" b4424f84e0b51f3944b25a229f2f153fa3fc7e24
git push origin v0.12.148

Please sign in to comment.