Skip to content

Commit

Permalink
fix @tturbo
Browse files Browse the repository at this point in the history
  • Loading branch information
chriselrod committed Oct 4, 2022
1 parent 4b03b46 commit 183eefe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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.131"
version = "0.12.132"

[deps]
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
Expand Down
6 changes: 3 additions & 3 deletions src/reconstruct_loopset.jl
Original file line number Diff line number Diff line change
Expand Up @@ -989,12 +989,12 @@ Execute an `@turbo` block. The block's code is represented via the arguments:
)
post = hoist_constant_memory_accesses!(ls)
# q = @show(avx_body(ls, var"#UNROLL#")); post === ls.preamble ? q : Expr(:block, q, post)
q = if (last(var"#UNROLL#") > 1) && length(var"#LPSYM#") == length(ls.loops)
inline, u₁, u₂, v, isbroadcast, W, rs, rc, cls, nt = var"#UNROLL#"
q = if (var"#UNROLL#"[10] > 1) && length(var"#LPSYM#") == length(ls.loops)
inline, u₁, u₂, v, isbroadcast, W, rs, rc, cls, nt, wca, safe = var"#UNROLL#"
# wrap in `var"#OPS#", var"#ARF#", var"#AM#", var"#LPSYM#"` in `Expr` to homogenize types
avx_threads_expr(
ls,
(inline, u₁, u₂, v, isbroadcast, W, rs, rc, cls, one(UInt)),
(inline, u₁, u₂, v, isbroadcast, W, rs, rc, cls, one(UInt), wca, safe),
nt,
:(Val{$(var"#OPS#")}()),
:(Val{$(var"#ARF#")}()),
Expand Down

2 comments on commit 183eefe

@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/69525

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.132 -m "<description of version>" 183eefe11345083e39e3b9c523608ce243029160
git push origin v0.12.132

Please sign in to comment.