Skip to content

Commit 183eefe

Browse files
committed
fix @tturbo
1 parent 4b03b46 commit 183eefe

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "LoopVectorization"
22
uuid = "bdcacae8-1622-11e9-2a5c-532679323890"
33
authors = ["Chris Elrod <[email protected]>"]
4-
version = "0.12.131"
4+
version = "0.12.132"
55

66
[deps]
77
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"

src/reconstruct_loopset.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -989,12 +989,12 @@ Execute an `@turbo` block. The block's code is represented via the arguments:
989989
)
990990
post = hoist_constant_memory_accesses!(ls)
991991
# q = @show(avx_body(ls, var"#UNROLL#")); post === ls.preamble ? q : Expr(:block, q, post)
992-
q = if (last(var"#UNROLL#") > 1) && length(var"#LPSYM#") == length(ls.loops)
993-
inline, u₁, u₂, v, isbroadcast, W, rs, rc, cls, nt = var"#UNROLL#"
992+
q = if (var"#UNROLL#"[10] > 1) && length(var"#LPSYM#") == length(ls.loops)
993+
inline, u₁, u₂, v, isbroadcast, W, rs, rc, cls, nt, wca, safe = var"#UNROLL#"
994994
# wrap in `var"#OPS#", var"#ARF#", var"#AM#", var"#LPSYM#"` in `Expr` to homogenize types
995995
avx_threads_expr(
996996
ls,
997-
(inline, u₁, u₂, v, isbroadcast, W, rs, rc, cls, one(UInt)),
997+
(inline, u₁, u₂, v, isbroadcast, W, rs, rc, cls, one(UInt), wca, safe),
998998
nt,
999999
:(Val{$(var"#OPS#")}()),
10001000
:(Val{$(var"#ARF#")}()),

0 commit comments

Comments
 (0)