Skip to content

Commit

Permalink
Broadcast updates, bump version.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriselrod committed Apr 30, 2021
1 parent d3f7d35 commit bac7083
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "StrideArrays"
uuid = "d1fa6d79-ef01-42a6-86c9-f7c551f8593b"
authors = ["Chris Elrod <elrodc@gmail.com> and contributors"]
version = "0.1.5"
version = "0.1.6"

[deps]
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
Expand All @@ -24,7 +24,7 @@ SLEEFPirates = "0.6.13"
Static = "0.2.4"
StrideArraysCore = "0.1.3"
ThreadingUtilities = "0.4"
VectorizationBase = "0.19.12"
VectorizationBase = "0.19.32"
VectorizedRNG = "0.2.8"
julia = "1.5"

Expand Down
7 changes: 1 addition & 6 deletions src/broadcast.jl
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ function add_fs_array!(ls::LoopVectorization.LoopSet, destname::Symbol, bcname::
ref = Symbol[]
# aref = LoopVectorization.ArrayReference(bcname, ref)
vptrbc = LoopVectorization.vptr(bcname)
LoopVectorization.add_vptr!(ls, bcname, vptrbc, true, false) #TODO: is this necessary?
LoopVectorization.add_vptr!(ls, bcname, vptrbc, true) #TODO: is this necessary?
offset = 0
Rnew = Int[]
for (i,n) enumerate(indexes)
Expand Down Expand Up @@ -183,15 +183,10 @@ function add_fs_array!(ls::LoopVectorization.LoopSet, destname::Symbol, bcname::
sp = sort_indices!(mref, Rnew, C)
if sp === nothing
LoopVectorization.pushprepreamble!(ls, Expr(:(=), bctemp, bcname))
# LoopVectorization.add_vptr!(ls, bcname, vptrbc, true, false)
else
ssp = Expr(:tuple); append!(ssp.args, sp)
ssp = Expr(:call, Expr(:curly, :StaticInt, ssp))
LoopVectorization.pushprepreamble!(ls, Expr(:(=), bctemp, Expr(:call, :permutedims, bcname, ssp)))
# LoopVectorization.add_vptr!(ls, bctemp, vptrbc, true, false)
# vptemp = gensym(vptrbc)
# LoopVectorization.add_vptr!(ls, bcname, vptemp, true, false)
# LoopVectorization.pushprepreamble!(Expr(:(=), vptrbc, Expr(:call, :PermutedDimsArray, vptemp, ssp)))
end
loadop = LoopVectorization.add_simple_load!(ls, destname, mref, mref.ref.indices, elementbytes)
LoopVectorization.doaddref!(ls, loadop)
Expand Down

2 comments on commit bac7083

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

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

Please sign in to comment.