-
Notifications
You must be signed in to change notification settings - Fork 2
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
upgrade dependencies #9
Conversation
This is a minimum working example. julia> using TropicalGEMM
julia> a = Tropical.(randn(10, 10)); b = copy(a);
julia> transpose(a) * b
ERROR: KeyError: key TropicalF64 not found
Stacktrace:
[1] getindex
@ ./iddict.jl:93 [inlined]
[2] shuffle_load_quote(#unused#::Type{TropicalF64}, integer_params::NTuple{9, Int64}, #unused#::Type{Static.StaticInt{0}}, align::Bool, rs::Int64, MASKFLAG::UInt64)
@ VectorizationBase ~/.julia/packages/VectorizationBase/rpkMv/src/vecunroll/memory.jl:90
[3] #s156#317
@ ~/.julia/packages/VectorizationBase/rpkMv/src/vecunroll/memory.jl:375 [inlined]
[4] var"#s156#317"(A::Any, AU::Any, F::Any, N::Any, AV::Any, W::Any, M::Any, I::Any, T::Any, D::Any, RS::Any, UX::Any, X::Any, C::Any, B::Any, ::Any, sptr::Any, u::Any, sm::Any, #unused#::Type, #unused#::Type, #unused#::Any)
@ VectorizationBase ./none:0
[5] (::Core.GeneratedFunctionStub)(::Any, ::Vararg{Any, N} where N)
@ Core ./boot.jl:571
[6] _vload
@ ~/.julia/packages/VectorizationBase/rpkMv/src/vecunroll/memory.jl:420 [inlined]
[7] macro expansion
@ ~/.julia/packages/LoopVectorization/yPiaG/src/reconstruct_loopset.jl:671 [inlined]
[8] _avx_!(::Val{(false, 0, 0, false, 4, 32, 15, 64, 32768, 262144, 12582912, 0x0000000000000001)}, ::Val{(:numericconstant, Symbol("###zero###11###"), LoopVectorization.OperationStruct(0x0000000000000012, 0x0000000000000000, 0x0000000000000003, 0x0000000000000000, LoopVectorization.constant, 0x00, 0x01), :LoopVectorization, :getindex, LoopVectorization.OperationStruct(0x0000000000000023, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, LoopVectorization.memload, 0x01, 0x02), :LoopVectorization, :getindex, LoopVectorization.OperationStruct(0x0000000000000031, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, LoopVectorization.memload, 0x02, 0x03), :LoopVectorization, :vfmadd_fast, LoopVectorization.OperationStruct(0x0000000000000231, 0x0000000000000003, 0x0000000000000000, 0x0000000000020301, LoopVectorization.compute, 0x00, 0x01), :LoopVectorization, :identity, LoopVectorization.OperationStruct(0x0000000000000012, 0x0000000000000003, 0x0000000000000000, 0x0000000000000004, LoopVectorization.compute, 0x00, 0x01), :LoopVectorization, :LOOPCONSTANTINSTRUCTION, LoopVectorization.OperationStruct(0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, LoopVectorization.constant, 0x00, 0x04), :LoopVectorization, :LOOPCONSTANTINSTRUCTION, LoopVectorization.OperationStruct(0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, LoopVectorization.constant, 0x00, 0x05), :LoopVectorization, :getindex, LoopVectorization.OperationStruct(0x0000000000000021, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, LoopVectorization.memload, 0x03, 0x06), :LoopVectorization, :mul_fast, LoopVectorization.OperationStruct(0x0000000000000021, 0x0000000000000000, 0x0000000000000000, 0x0000000000000708, LoopVectorization.compute, 0x00, 0x07), :LoopVectorization, :vfmadd_fast, LoopVectorization.OperationStruct(0x0000000000000012, 0x0000000000000003, 0x0000000000000000, 0x0000000000060509, LoopVectorization.compute, 0x00, 0x06), :LoopVectorization, :setindex!, LoopVectorization.OperationStruct(0x0000000000000021, 0x0000000000000003, 0x0000000000000000, 0x000000000000000a, LoopVectorization.memstore, 0x03, 0x08))}, ::Val{(LoopVectorization.ArrayRefStruct{:A, Symbol("##vptr##_A")}(0x0000000000000101, 0x0000000000000203, 0x0000000000000000, 0x0000000000000101), LoopVectorization.ArrayRefStruct{:B, Symbol("##vptr##_B")}(0x0000000000000101, 0x0000000000000301, 0x0000000000000000, 0x0000000000000101), LoopVectorization.ArrayRefStruct{:C, Symbol("##vptr##_C")}(0x0000000000000101, 0x0000000000000201, 0x0000000000000000, 0x0000000000000101))}, ::Val{(0, (), (6, 7), (), (), ((1, LoopVectorization.IntOrFloat),), ())}, ::Val{(:n, :m, :k)}, ::Val{Tuple{Tuple{StrideArraysCore.CloseOpen{Static.StaticInt{0}, Int64}, StrideArraysCore.CloseOpen{Static.StaticInt{0}, Int64}, StrideArraysCore.CloseOpen{Static.StaticInt{0}, Int64}}, Tuple{VectorizationBase.GroupedStridedPointers{Tuple{Ptr{TropicalF64}, Ptr{TropicalF64}, Ptr{TropicalF64}}, (2, 1, 1), (0, 0, 0), ((2, 1), (1, 2), (1, 2)), ((1, 2), (3, 4), (5, 6)), Tuple{Int64, Static.StaticInt{8}, Static.StaticInt{8}, Int64, Static.StaticInt{8}, Int64}, NTuple{6, Static.StaticInt{0}}}, TropicalF64, TropicalF64}}}, ::Int64, ::Int64, ::Int64, ::Ptr{TropicalF64}, ::Ptr{TropicalF64}, ::Ptr{TropicalF64}, ::Int64, ::Int64, ::Int64, ::Float64, ::Float64)
@ LoopVectorization ~/.julia/packages/LoopVectorization/yPiaG/src/reconstruct_loopset.jl:671
[9] loopmul!
@ ~/.julia/packages/Octavian/yOhDw/src/macrokernels.jl:83 [inlined]
[10] _matmul!
@ ~/.julia/packages/Octavian/yOhDw/src/matmul.jl:273 [inlined]
[11] matmul!
@ ~/.julia/packages/Octavian/yOhDw/src/matmul.jl:236 [inlined]
[12] matmul!
@ ~/.julia/packages/Octavian/yOhDw/src/matmul.jl:226 [inlined]
[13] mul!(o::Matrix{TropicalF64}, a::LinearAlgebra.Transpose{TropicalF64, Matrix{TropicalF64}}, b::Matrix{TropicalF64}, α::Bool, β::Bool)
@ TropicalGEMM ~/.julia/dev/TropicalGEMM/src/gemm.jl:158
[14] mul!
@ /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/LinearAlgebra/src/matmul.jl:275 [inlined]
[15] *(A::LinearAlgebra.Transpose{TropicalF64, Matrix{TropicalF64}}, B::Matrix{TropicalF64})
@ LinearAlgebra /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/LinearAlgebra/src/matmul.jl:153
[16] top-level scope
@ REPL[3]:1 |
Try adding mask versions of this. |
Codecov Report
@@ Coverage Diff @@
## master #9 +/- ##
==========================================
+ Coverage 86.11% 88.00% +1.88%
==========================================
Files 3 2 -1
Lines 72 75 +3
==========================================
+ Hits 62 66 +4
+ Misses 10 9 -1
Continue to review full report at Codecov.
|
Thanks, it solved the problem. 🎉 |
@chriselrod I update the dependencies. However, there are some strange errors when computing
The error message is:
I do not have any specialization for Float32 types. Do you have any clue on this error?