Skip to content

Commit

Permalink
Update SIMDPirates requirement. Fixes #127.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriselrod committed Jun 11, 2020
1 parent 1101722 commit d9541a7
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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.8.4"
version = "0.8.5"

[deps]
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
Expand All @@ -15,7 +15,7 @@ VectorizationBase = "3d5dd08c-fd9d-11e8-17fa-ed2836048c2f"
[compat]
DocStringExtensions = "0.8"
OffsetArrays = "1"
SIMDPirates = "0.8.6"
SIMDPirates = "0.8.7"
SLEEFPirates = "0.5"
UnPack = "0,1"
VectorizationBase = "0.12.6"
Expand Down
18 changes: 18 additions & 0 deletions test/miscellaneous.jl
Original file line number Diff line number Diff line change
Expand Up @@ -623,6 +623,21 @@ using Test
end
end
end
function loopinductvardivision(τ)
M,N = size(τ)
for t = 1:N, j = 1:M
τ[j, t] = ((j - 1) / (M - 1))
end
τ
end
function loopinductvardivisionavx(τ)
M,N = size(τ)
@avx for t = 1:N, j = 1:M
τ[j, t] = ((j - 1) / (M - 1))
end
τ
end


for T (Float32, Float64)
@show T, @__LINE__
Expand Down Expand Up @@ -809,6 +824,8 @@ using Test
multiple_unrolls_split_depchains_avx!(c_re_2, a_re, b_re, a_im, b_im) # [1 1; 1 1]
@test c_re_1 c_re_2

@test loopinductvardivision(X1) loopinductvardivisionavx(X2)

mh = (
Wt_D_W = Matrix{T}(undef, 181, 181),
Wt = rand(T, 181, 191),
Expand Down Expand Up @@ -874,6 +891,7 @@ function smoothdim_ifelse_avx!(s, x, α, Rpre, irng::AbstractUnitRange, Rpost)
end
s
end

for T (Float32, Float64)
@testset "Mixed CartesianIndex/Int indexing" begin
@show T, @__LINE__
Expand Down

2 comments on commit d9541a7

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

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.8.5 -m "<description of version>" d9541a7a08699d8f8a1ef69244203ca1f15b6b6e
git push origin v0.8.5

Please sign in to comment.