Skip to content

Commit c7950f9

Browse files
authored
Stride penalty increase (#466)
* Increase stride penalty * formatting
1 parent e0179d2 commit c7950f9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
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.152"
4+
version = "0.12.153"
55

66
[weakdeps]
77
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"

src/modeling/determinestrategy.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -859,7 +859,7 @@ function stride_penalty(ls::LoopSet, order::Vector{Symbol})
859859
if iszero(length(values(stridepenaltydict)))
860860
0.0
861861
else # 1 / 1024 = 0.0009765625
862-
10.0sum(maximum, values(stridepenaltydict)) *
862+
50.0sum(maximum, values(stridepenaltydict)) *
863863
Base.power_by_squaring(0.0009765625, length(order))
864864
end
865865
end

src/modeling/graphs.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ struct Loop
88
start::MaybeKnown
99
stop::MaybeKnown
1010
step::MaybeKnown
11-
rangesym::Symbol# === Symbol("") means loop is static
11+
rangesym::Symbol # === Symbol("") means loop is static
1212
lensym::Symbol
1313
end
1414

0 commit comments

Comments
 (0)