-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VectorizationBase.jl breaks StaticArrays.jl #91
Comments
This also causes errors in Convex.jl MethodError: no method matching _offset_index(::Tuple{}, ::Tuple{Static.StaticInt{1}, Static.StaticInt{1}})
Closest candidates are:
_offset_index(::Tuple{}, ::Tuple{}) at /home/github_actions/depots/deepsea1.0/packages/VectorizationBase/sAHNI/src/strided_pointers/stridedpointers.jl:17
_offset_index(::Tuple{I1}, ::Tuple{I2, I3, Vararg}) where {I1, I2, I3} at /home/github_actions/depots/deepsea1.0/packages/VectorizationBase/sAHNI/src/strided_pointers/stridedpointers.jl:18
_offset_index(::Tuple{I1, I2, Vararg}, ::Tuple{I3, I4, Vararg}) where {I1, I2, I3, I4} at /home/github_actions/depots/deepsea1.0/packages/VectorizationBase/sAHNI/src/strided_pointers/stridedpointers.jl:28
Stacktrace:
[1] offset_index
@ /home/github_actions/depots/deepsea1.0/packages/VectorizationBase/sAHNI/src/strided_pointers/stridedpointers.jl:31 [inlined]
[2] linear_index
@ /home/github_actions/depots/deepsea1.0/packages/VectorizationBase/sAHNI/src/strided_pointers/stridedpointers.jl:32 [inlined]
[3] _vload
@ /home/github_actions/depots/deepsea1.0/packages/VectorizationBase/sAHNI/src/strided_pointers/stridedpointers.jl:41 [inlined]
[4] vload
@ /home/github_actions/depots/deepsea1.0/packages/VectorizationBase/sAHNI/src/llvm_intrin/memory_addr.jl:970 [inlined]
[5] getindex
@ /home/github_actions/depots/deepsea1.0/packages/VectorizationBase/sAHNI/src/special/misc.jl:197 [inlined]
[6] output
@ /home/github_actions/depots/deepsea1.0/packages/Convex/ukggP/src/constant.jl:49 [inlined] |
This issue seems to break basic Julia too: a = [1]; a[] Running the above gives 1, but if we add VectorizationBase the no-index indexing gets broken: using VectorizationBase
a = [1]; a[]
Loading the module seems to type pirate @which a[]
getindex(A::Array, i::VectorizationBase.AbstractSIMD...) in VectorizationBase at C:\Users\olavm\.julia\packages\VectorizationBase\sAHNI\src\special\misc.jl:196 |
Fixed. |
Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This causes the CI failures in trixi-framework/Trixi.jl#1202 and trixi-framework/Trixi.jl#1149
The text was updated successfully, but these errors were encountered: