Skip to content

Commit

Permalink
Bump version, project, and manifest. Use mask rather than masktable.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriselrod committed Mar 23, 2020
1 parent 14637ae commit 7db0bb8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions Manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ uuid = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"

[[SIMDPirates]]
deps = ["VectorizationBase"]
git-tree-sha1 = "34dff4f4715f871e71b38f31397d96e62621f14d"
git-tree-sha1 = "9fc6737cd40087e7d486f8e81fb5be8ad18f970b"
uuid = "21efa798-c60a-11e8-04d3-e1a92915a26a"
version = "0.6.5"
version = "0.7.2"

[[Serialization]]
uuid = "9e88b42a-f829-5b0c-bbe9-9e923198166b"
Expand All @@ -53,6 +53,6 @@ uuid = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[[VectorizationBase]]
deps = ["CpuId", "LinearAlgebra"]
git-tree-sha1 = "006d7b7f276db8d728f8bfd70ebf2efd132f9548"
git-tree-sha1 = "83f073a514b5d654cc9c72ae283a33388a0d0386"
uuid = "3d5dd08c-fd9d-11e8-17fa-ed2836048c2f"
version = "0.7.0"
version = "0.9.3"
6 changes: 3 additions & 3 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "VectorizedRNG"
uuid = "33b4df10-0173-11e9-2a0c-851a7edac40e"
authors = ["Chris Elrod <elrodc@gmail.com>"]
version = "0.1.4"
version = "0.1.5"

[deps]
Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b"
Expand All @@ -10,8 +10,8 @@ SIMDPirates = "21efa798-c60a-11e8-04d3-e1a92915a26a"
VectorizationBase = "3d5dd08c-fd9d-11e8-17fa-ed2836048c2f"

[compat]
SIMDPirates = "~0.5,0.6"
VectorizationBase = "~0.5,0.6,0.7"
SIMDPirates = "~0.5,0.6,0.7"
VectorizationBase = "~0.5,0.6,0.7,0.8,0.9"
julia = "1"

[extras]
Expand Down
4 changes: 2 additions & 2 deletions src/api.jl
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ function random_sample!(f::typeof(random_uniform), rng::AbstractVRNG{P}, x::Abst
vstore!(ptrx, z₁, n); n += W64
vstore!(ptrx, z₂, n); n += W64
end
mask = VectorizationBase.masktable(Val{W64}(), N & (W64-1))
mask = VectorizationBase.mask(Val{W64}(), N)
if n < N - 1W64
state, (z₁,z₂) = f(state, Val{2}(), Float64)
vstore!(ptrx, z₁, n); n += W64
Expand All @@ -149,7 +149,7 @@ function random_sample!(f::F, rng::AbstractVRNG{P}, x::AbstractArray{Float64}) w
vstore!(ptrx, z₃, n); n += W64
vstore!(ptrx, z₄, n); n += W64
end
mask = VectorizationBase.masktable(Val{W64}(), N & (W64-1))
mask = VectorizationBase.mask(Val{W64}(), N)
if n < N - 3W64
state, (z₁,z₂,z₃,z₄) = f(state, Val{4}(), Float64)
vstore!(ptrx, z₁, n); n += W64
Expand Down

2 comments on commit 7db0bb8

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

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.5 -m "<description of version>" 7db0bb892115a1846d2aa0a06175a209dc48f0a9
git push origin v0.1.5

Please sign in to comment.