Skip to content

Commit

Permalink
Bump version.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriselrod committed Jan 2, 2020
1 parent d52717c commit bba8487
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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.1.2"
version = "0.1.3"

[deps]
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Expand Down
6 changes: 2 additions & 4 deletions src/determinestrategy.jl
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,9 @@ end
function solve_tilesize(X, R)
@inbounds any(iszero, (R[1],R[2],R[3])) && return -1,-1,Inf #solve_smalltilesize(X, R, Umax, Tmax)
# @inbounds any(iszero, (R[1],R[2],R[3])) && return -1,-1,Inf #solve_smalltilesize(X, R, Umax, Tmax)
# We use lagrange multiplier to finding floating point values for U and T
# We use a lagrange multiplier to find floating point values for U and T
# first solving for U via quadratic formula
# X is vector of costs, and R is of register pressures
# @show X
# @show R
RR = REGISTER_COUNT - R[3] - R[4]
a = (R[1])^2*X[2] - (R[2])^2*R[1]*X[3]/RR
b = 2*R[1]*R[2]*X[3]
Expand Down Expand Up @@ -205,7 +203,7 @@ function solve_tilesize(X, R)
if RR > Uhigh*Thigh*R[1] + Uhigh*R[2]
throw("Something went wrong when solving for Tfloat and Ufloat.")
end
min(U,RR), min(T,RR), tcost
U, T, tcost
end
function solve_tilesize_constU(X, R, U)
floor(Int, (REGISTER_COUNT - R[3] - R[4] - U*R[2]) / (U * R[1]))
Expand Down

2 comments on commit bba8487

@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 register()

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

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 Julia TagBot is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.3 -m "<description of version>" bba84878b80b8e093af92b03af198938e05bfcea
git push origin v0.1.3

Please sign in to comment.