Skip to content
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

CUSPARSE tests broken #259

Closed
maleadt opened this issue Jun 29, 2020 · 7 comments
Closed

CUSPARSE tests broken #259

maleadt opened this issue Jun 29, 2020 · 7 comments
Assignees
Labels
bug Something isn't working cuda libraries Stuff about CUDA library wrappers. tests Adds or changes tests.

Comments

@maleadt
Copy link
Member

maleadt commented Jun 29, 2020

https://gitlab.com/JuliaGPU/CUDA.jl/-/jobs/615900224

This only surfaces on 1.5-rc1 because of the backport of JuliaLang/julia#36046 (there's a MethodError thrown that confuses the stack of testsets).

@maleadt maleadt added the bug Something isn't working label Jun 29, 2020
@maleadt
Copy link
Member Author

maleadt commented Jun 29, 2020

cusparse: Test Failed at /builds/JuliaGPU/CUDA.jl/test/cusparse.jl:722
  Expression: Y ≈ h_Y
   Evaluated: Float32[103.96752, -506.07312, 648.3393, -449.21375, 289.50964, -537.9951, 353.1413, 498.27817, -337.84402, 266.5112  …  48.836643, 9.961194, -7.8389945, -2.3682177, -16.68306, 10.914651, -15.20367, 22.906178, -1.0419221, 1.156374] ≈ Float32[55.555, -270.42023, 346.43982, -240.0373, 154.69936, -287.47736, 188.70097, 266.25485, -180.52695, 142.41025  …  26.095854, 5.322764, -4.188767, -1.2654554, -8.914593, 5.832243, -8.124081, 12.239916, -0.556751, 0.6179085]
Stacktrace:
 [1] record(::Test.DefaultTestSet, ::Union{Test.Error, Test.Fail}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:775
 [2] top-level scope at /builds/JuliaGPU/CUDA.jl/test/runtests.jl:427
 [3] include(::String) at ./client.jl:457
 [4] top-level scope at none:6
 [5] eval(::Module, ::Any) at ./boot.jl:331
 [6] exec_options(::Base.JLOptions) at ./client.jl:272
 [7] _start() at ./client.jl:506

cusparse: Error During Test at /builds/JuliaGPU/CUDA.jl/test/cusparse.jl:640
  MethodError: no method matching sv2(::Char, ::Char, ::Float32, ::UpperTriangular{Float32,CuSparseMatrixCSR{Float32}}, ::CuArray{Float32,1,Nothing}, ::Char)
  Closest candidates are:
    sv2(::Char, ::Char, ::Float32, !Matched::Union{CuSparseMatrixBSR{Float32}, CuSparseMatrixCSC{Float32}, CuSparseMatrixCSR{Float32}, CuSparseMatrixHYB{Float32}}, ::CuArray{Float32,1,P} where P, ::Char) at /builds/JuliaGPU/CUDA.jl/lib/cusparse/wrappers.jl:652
    sv2(::Char, ::Char, !Matched::Float64, !Matched::Union{CuSparseMatrixBSR{Float64}, CuSparseMatrixCSC{Float64}, CuSparseMatrixCSR{Float64}, CuSparseMatrixHYB{Float64}}, !Matched::CuArray{Float64,1,P} where P, ::Char) at /builds/JuliaGPU/CUDA.jl/lib/cusparse/wrappers.jl:652
    sv2(::Char, ::Char, !Matched::Complex{Float32}, !Matched::Union{CuSparseMatrixBSR{Complex{Float32}}, CuSparseMatrixCSC{Complex{Float32}}, CuSparseMatrixCSR{Complex{Float32}}, CuSparseMatrixHYB{Complex{Float32}}}, !Matched::CuArray{Complex{Float32},1,P} where P, ::Char) at /builds/JuliaGPU/CUDA.jl/lib/cusparse/wrappers.jl:652
    ...
  Stacktrace:
   [1] macro expansion at /builds/JuliaGPU/CUDA.jl/test/cusparse.jl:723 [inlined]
   [2] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:1115 [inlined]
   [3] macro expansion at /builds/JuliaGPU/CUDA.jl/test/cusparse.jl:708 [inlined]
   [4] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:1190 [inlined]
   [5] macro expansion at /builds/JuliaGPU/CUDA.jl/test/cusparse.jl:640 [inlined]
   [6] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:1115 [inlined]
   [7] top-level scope at /builds/JuliaGPU/CUDA.jl/test/cusparse.jl:640
   [8] include(::String) at ./client.jl:457
   [9] #9 at /builds/JuliaGPU/CUDA.jl/test/runtests.jl:73 [inlined]
   [10] macro expansion at /builds/JuliaGPU/CUDA.jl/test/setup.jl:42 [inlined]
   [11] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:1115 [inlined]
   [12] macro expansion at /builds/JuliaGPU/CUDA.jl/test/setup.jl:42 [inlined]
   [13] macro expansion at /builds/JuliaGPU/CUDA.jl/src/utilities.jl:14 [inlined]
   [14] macro expansion at /builds/JuliaGPU/CUDA.jl/src/memory.jl:416 [inlined]
   [15] top-level scope at /builds/JuliaGPU/CUDA.jl/test/setup.jl:41
   [16] eval at ./boot.jl:331 [inlined]
   [17] runtests(::Function, ::String, ::Bool, ::Nothing) at /builds/JuliaGPU/CUDA.jl/test/setup.jl:51
   [18] (::Distributed.var"#106#108"{Distributed.CallMsg{:call_fetch}})() at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Distributed/src/process_messages.jl:294
   [19] run_work_thunk(::Distributed.var"#106#108"{Distributed.CallMsg{:call_fetch}}, ::Bool) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Distributed/src/process_messages.jl:79
   [20] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Distributed/src/process_messages.jl:294 [inlined]
   [21] (::Distributed.var"#105#107"{Distributed.CallMsg{:call_fetch},Distributed.MsgHeader,Sockets.TCPSocket})() at ./task.jl:356
  
cusparse: Test Failed at /builds/JuliaGPU/CUDA.jl/test/cusparse.jl:722
  Expression: Y ≈ h_Y
   Evaluated: [-1.0573801249804783e6, 437813.09038790636, 8215.509284442227, -69642.58738917326, 43456.033243262704, 3091.184858528667, -5756.981475763472, 694.159519286173, -2974.7743115177846, 420.16886130455305  …  407.99981679517407, -411.27308854509204, -61.52303114551582, -117.2990596212488, 237.71011803588044, 236.22550268356932, -295.62333032386186, 3.053449028552509, -36.51647648971815, 2.0948122032806995] ≈ [-419935.51677969086, 173876.2267432948, 3262.7662043811283, -27658.35600105232, 17258.440314964184, 1227.6552966718164, -2286.3688601679323, 275.683483708721, -1181.4231781907508, 166.86887122066815  …  162.0359697181404, -163.3359403071356, -24.43369727459356, -46.58498874350445, 94.40589897885756, 93.81628820363768, -117.40596693547292, 1.2126686188557938, -14.502415038268609, 0.8319487234142261]
Stacktrace:
 [1] record(::Test.DefaultTestSet, ::Union{Test.Error, Test.Fail}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:775
 [2] top-level scope at /builds/JuliaGPU/CUDA.jl/test/runtests.jl:427
 [3] include(::String) at ./client.jl:457
 [4] top-level scope at none:6
 [5] eval(::Module, ::Any) at ./boot.jl:331
 [6] exec_options(::Base.JLOptions) at ./client.jl:272
 [7] _start() at ./client.jl:506
cusparse: Error During Test at /builds/JuliaGPU/CUDA.jl/test/cusparse.jl:640
  MethodError: no method matching sv2(::Char, ::Char, ::Float64, ::UpperTriangular{Float64,CuSparseMatrixCSR{Float64}}, ::CuArray{Float64,1,Nothing}, ::Char)
  Closest candidates are:
    sv2(::Char, ::Char, ::Float64, !Matched::Union{CuSparseMatrixBSR{Float64}, CuSparseMatrixCSC{Float64}, CuSparseMatrixCSR{Float64}, CuSparseMatrixHYB{Float64}}, ::CuArray{Float64,1,P} where P, ::Char) at /builds/JuliaGPU/CUDA.jl/lib/cusparse/wrappers.jl:652
    sv2(::Char, ::Char, !Matched::Float32, !Matched::Union{CuSparseMatrixBSR{Float32}, CuSparseMatrixCSC{Float32}, CuSparseMatrixCSR{Float32}, CuSparseMatrixHYB{Float32}}, !Matched::CuArray{Float32,1,P} where P, ::Char) at /builds/JuliaGPU/CUDA.jl/lib/cusparse/wrappers.jl:652
    sv2(::Char, ::Char, !Matched::Complex{Float32}, !Matched::Union{CuSparseMatrixBSR{Complex{Float32}}, CuSparseMatrixCSC{Complex{Float32}}, CuSparseMatrixCSR{Complex{Float32}}, CuSparseMatrixHYB{Complex{Float32}}}, !Matched::CuArray{Complex{Float32},1,P} where P, ::Char) at /builds/JuliaGPU/CUDA.jl/lib/cusparse/wrappers.jl:652
    ...
  Stacktrace:
   [1] macro expansion at /builds/JuliaGPU/CUDA.jl/test/cusparse.jl:723 [inlined]
   [2] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:1115 [inlined]
   [3] macro expansion at /builds/JuliaGPU/CUDA.jl/test/cusparse.jl:708 [inlined]
   [4] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:1190 [inlined]
   [5] macro expansion at /builds/JuliaGPU/CUDA.jl/test/cusparse.jl:640 [inlined]
   [6] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:1115 [inlined]
   [7] top-level scope at /builds/JuliaGPU/CUDA.jl/test/cusparse.jl:640
   [8] include(::String) at ./client.jl:457
   [9] #9 at /builds/JuliaGPU/CUDA.jl/test/runtests.jl:73 [inlined]
   [10] macro expansion at /builds/JuliaGPU/CUDA.jl/test/setup.jl:42 [inlined]
   [11] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:1115 [inlined]
   [12] macro expansion at /builds/JuliaGPU/CUDA.jl/test/setup.jl:42 [inlined]
   [13] macro expansion at /builds/JuliaGPU/CUDA.jl/src/utilities.jl:14 [inlined]
   [14] macro expansion at /builds/JuliaGPU/CUDA.jl/src/memory.jl:416 [inlined]
   [15] top-level scope at /builds/JuliaGPU/CUDA.jl/test/setup.jl:41
   [16] eval at ./boot.jl:331 [inlined]
   [17] runtests(::Function, ::String, ::Bool, ::Nothing) at /builds/JuliaGPU/CUDA.jl/test/setup.jl:51
   [18] (::Distributed.var"#106#108"{Distributed.CallMsg{:call_fetch}})() at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Distributed/src/process_messages.jl:294
   [19] run_work_thunk(::Distributed.var"#106#108"{Distributed.CallMsg{:call_fetch}}, ::Bool) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Distributed/src/process_messages.jl:79
   [20] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Distributed/src/process_messages.jl:294 [inlined]
   [21] (::Distributed.var"#105#107"{Distributed.CallMsg{:call_fetch},Distributed.MsgHeader,Sockets.TCPSocket})() at ./task.jl:356
  
cusparse: Test Failed at /builds/JuliaGPU/CUDA.jl/test/cusparse.jl:722
  Expression: Y ≈ h_Y
   Evaluated: Complex{Float32}[44.726353f0 + 22.812496f0im, -11.646811f0 - 0.7307911f0im, -5.7632775f0 + 22.144337f0im, -47.500675f0 + 0.81456757f0im, -6.4763618f0 + 4.750482f0im, 8.636793f0 - 27.560738f0im, 9.763592f0 + 30.218859f0im, 21.707287f0 - 12.550033f0im, -7.1341825f0 - 17.38044f0im, -9.26229f0 + 12.788193f0im  …  -2.730376f0 - 0.06670047f0im, -2.919251f0 + 0.4019363f0im, 1.0432088f0 + 0.83608896f0im, 2.894001f0 - 1.1938994f0im, -0.09458589f0 - 0.18722941f0im, -3.81097f0 - 0.01821351f0im, 1.9375399f0 - 1.8143106f0im, 0.49081653f0 + 1.7424711f0im, -0.56429493f0 - 0.31001547f0im, 1.1326866f0 - 0.06723283f0im] ≈ Complex{Float32}[33.171604f0 + 18.294886f0im, -8.76511f0 - 0.83541f0im, -4.886684f0 + 16.558514f0im, -35.840485f0 - 0.54524744f0im, -4.999835f0 + 3.4242737f0im, 7.1858454f0 - 20.572914f0im, 6.6251287f0 + 23.026596f0im, 16.675976f0 - 8.934177f0im, -4.9556675f0 - 13.280867f0im, -7.29693f0 + 9.417567f0im  …  -2.057369f0 - 0.11695017f0im, -2.211241f0 + 0.23184192f0im, 0.766282f0 + 0.65596604f0im, 2.2115326f0 - 0.8296834f0im, -0.06675782f0 - 0.14350063f0im, -2.8734362f0 - 0.10676345f0im, 1.505402f0 - 1.3208883f0im, 0.3275935f0 + 1.3259919f0im, -0.41797143f0 - 0.2475599f0im, 0.8558089f0 - 0.023051126f0im]
Stacktrace:
 [1] record(::Test.DefaultTestSet, ::Union{Test.Error, Test.Fail}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:775
 [2] top-level scope at /builds/JuliaGPU/CUDA.jl/test/runtests.jl:427
 [3] include(::String) at ./client.jl:457
 [4] top-level scope at none:6
 [5] eval(::Module, ::Any) at ./boot.jl:331
 [6] exec_options(::Base.JLOptions) at ./client.jl:272
 [7] _start() at ./client.jl:506

cusparse: Error During Test at /builds/JuliaGPU/CUDA.jl/test/cusparse.jl:640
  MethodError: no method matching sv2(::Char, ::Char, ::Complex{Float32}, ::UpperTriangular{Complex{Float32},CuSparseMatrixCSR{Complex{Float32}}}, ::CuArray{Complex{Float32},1,Nothing}, ::Char)
  Closest candidates are:
    sv2(::Char, ::Char, ::Complex{Float32}, !Matched::Union{CuSparseMatrixBSR{Complex{Float32}}, CuSparseMatrixCSC{Complex{Float32}}, CuSparseMatrixCSR{Complex{Float32}}, CuSparseMatrixHYB{Complex{Float32}}}, ::CuArray{Complex{Float32},1,P} where P, ::Char) at /builds/JuliaGPU/CUDA.jl/lib/cusparse/wrappers.jl:652
    sv2(::Char, ::Char, !Matched::Float32, !Matched::Union{CuSparseMatrixBSR{Float32}, CuSparseMatrixCSC{Float32}, CuSparseMatrixCSR{Float32}, CuSparseMatrixHYB{Float32}}, !Matched::CuArray{Float32,1,P} where P, ::Char) at /builds/JuliaGPU/CUDA.jl/lib/cusparse/wrappers.jl:652
    sv2(::Char, ::Char, !Matched::Float64, !Matched::Union{CuSparseMatrixBSR{Float64}, CuSparseMatrixCSC{Float64}, CuSparseMatrixCSR{Float64}, CuSparseMatrixHYB{Float64}}, !Matched::CuArray{Float64,1,P} where P, ::Char) at /builds/JuliaGPU/CUDA.jl/lib/cusparse/wrappers.jl:652
    ...
  Stacktrace:
   [1] macro expansion at /builds/JuliaGPU/CUDA.jl/test/cusparse.jl:723 [inlined]
   [2] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:1115 [inlined]
   [3] macro expansion at /builds/JuliaGPU/CUDA.jl/test/cusparse.jl:708 [inlined]
   [4] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:1190 [inlined]
   [5] macro expansion at /builds/JuliaGPU/CUDA.jl/test/cusparse.jl:640 [inlined]
   [6] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:1115 [inlined]
   [7] top-level scope at /builds/JuliaGPU/CUDA.jl/test/cusparse.jl:640
   [8] include(::String) at ./client.jl:457
   [9] #9 at /builds/JuliaGPU/CUDA.jl/test/runtests.jl:73 [inlined]
   [10] macro expansion at /builds/JuliaGPU/CUDA.jl/test/setup.jl:42 [inlined]
   [11] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:1115 [inlined]
   [12] macro expansion at /builds/JuliaGPU/CUDA.jl/test/setup.jl:42 [inlined]
   [13] macro expansion at /builds/JuliaGPU/CUDA.jl/src/utilities.jl:14 [inlined]
   [14] macro expansion at /builds/JuliaGPU/CUDA.jl/src/memory.jl:416 [inlined]
   [15] top-level scope at /builds/JuliaGPU/CUDA.jl/test/setup.jl:41
   [16] eval at ./boot.jl:331 [inlined]
   [17] runtests(::Function, ::String, ::Bool, ::Nothing) at /builds/JuliaGPU/CUDA.jl/test/setup.jl:51
   [18] (::Distributed.var"#106#108"{Distributed.CallMsg{:call_fetch}})() at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Distributed/src/process_messages.jl:294
   [19] run_work_thunk(::Distributed.var"#106#108"{Distributed.CallMsg{:call_fetch}}, ::Bool) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Distributed/src/process_messages.jl:79
   [20] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Distributed/src/process_messages.jl:294 [inlined]
   [21] (::Distributed.var"#105#107"{Distributed.CallMsg{:call_fetch},Distributed.MsgHeader,Sockets.TCPSocket})() at ./task.jl:356
  
cusparse: Test Failed at /builds/JuliaGPU/CUDA.jl/test/cusparse.jl:722
  Expression: Y ≈ h_Y
   Evaluated: Complex{Float64}[-101.7607761857506 - 163.85231759166862im, -78.92000045160428 + 82.49291004943095im, 143.88513362690816 - 63.89913346690644im, -7.2684360931160645 + 5.23202828836146im, -87.45774787543681 - 42.10167944290434im, 6.954118534472913 + 37.34747535345475im, 15.436864430653829 - 17.32122005057403im, 2.7029333316446866 + 46.397618205654695im, 23.72861998048707 - 17.293137641056404im, -5.523039366142697 + 10.306814339239674im  …  1.6549480668660737 + 0.06592876324982777im, 0.3062166715564067 + 3.3375620639337655im, -5.2006456608794975 + 0.7839659421635545im, 0.45126303486767494 - 4.206868592214888im, 2.385211475746999 + 1.8769362356850507im, -1.1278298293383815 - 1.5758064905010347im, -0.4905563008885165 - 0.9064238172563863im, 0.6555028693501826 + 0.6848026442245605im, -0.10373857072225917 + 0.8017681722746328im, 0.7847819708248676 - 0.20640934726852628im] ≈ Complex{Float64}[46.746391205462174 - 153.5457187776029im, -94.90987609030738 - 4.155539061643673im, 118.89903503380947 + 55.012529532673874im, -7.260589641691185 - 1.679932602785504im, -21.610931843382883 - 77.82625301765779im, -19.561353592238362 + 24.833621081435634im, 19.30647856439412 + 0.1627121630549756im, -27.55696984186159 + 27.135956578439732im, 23.836064753304544 + 5.3677394790317745im, -9.479618476794778 + 2.1954631360542796im  …  0.8663028962882425 + 1.071950563895743im, -1.9209786562821338 + 2.0219586525463695im, -3.342678258563771 - 2.8250460135817934im, 2.8804569988954336 - 2.024592684001557im, 0.13330648266270395 + 2.5221548854575304im, 0.3677656229180918 - 1.5700491954734161im, 0.29829176706659427 - 0.8041072197052227im, -0.06912798528791594 + 0.7858075628629453im, -0.5586988046788629 + 0.37475846163914944im, 0.5595580494354714 + 0.37798375862032124im]
Stacktrace:
 [1] record(::Test.DefaultTestSet, ::Union{Test.Error, Test.Fail}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:775
 [2] top-level scope at /builds/JuliaGPU/CUDA.jl/test/runtests.jl:427
 [3] include(::String) at ./client.jl:457
 [4] top-level scope at none:6
 [5] eval(::Module, ::Any) at ./boot.jl:331
 [6] exec_options(::Base.JLOptions) at ./client.jl:272
 [7] _start() at ./client.jl:506

cusparse: Error During Test at /builds/JuliaGPU/CUDA.jl/test/cusparse.jl:640
  MethodError: no method matching sv2(::Char, ::Char, ::Complex{Float64}, ::UpperTriangular{Complex{Float64},CuSparseMatrixCSR{Complex{Float64}}}, ::CuArray{Complex{Float64},1,Nothing}, ::Char)
  Closest candidates are:
    sv2(::Char, ::Char, ::Complex{Float64}, !Matched::Union{CuSparseMatrixBSR{Complex{Float64}}, CuSparseMatrixCSC{Complex{Float64}}, CuSparseMatrixCSR{Complex{Float64}}, CuSparseMatrixHYB{Complex{Float64}}}, ::CuArray{Complex{Float64},1,P} where P, ::Char) at /builds/JuliaGPU/CUDA.jl/lib/cusparse/wrappers.jl:652
    sv2(::Char, ::Char, !Matched::Float32, !Matched::Union{CuSparseMatrixBSR{Float32}, CuSparseMatrixCSC{Float32}, CuSparseMatrixCSR{Float32}, CuSparseMatrixHYB{Float32}}, !Matched::CuArray{Float32,1,P} where P, ::Char) at /builds/JuliaGPU/CUDA.jl/lib/cusparse/wrappers.jl:652
    sv2(::Char, ::Char, !Matched::Float64, !Matched::Union{CuSparseMatrixBSR{Float64}, CuSparseMatrixCSC{Float64}, CuSparseMatrixCSR{Float64}, CuSparseMatrixHYB{Float64}}, !Matched::CuArray{Float64,1,P} where P, ::Char) at /builds/JuliaGPU/CUDA.jl/lib/cusparse/wrappers.jl:652
    ...
  Stacktrace:
   [1] macro expansion at /builds/JuliaGPU/CUDA.jl/test/cusparse.jl:723 [inlined]
   [2] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:1115 [inlined]
   [3] macro expansion at /builds/JuliaGPU/CUDA.jl/test/cusparse.jl:708 [inlined]
   [4] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:1190 [inlined]
   [5] macro expansion at /builds/JuliaGPU/CUDA.jl/test/cusparse.jl:640 [inlined]
   [6] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:1115 [inlined]
   [7] top-level scope at /builds/JuliaGPU/CUDA.jl/test/cusparse.jl:640
   [8] include(::String) at ./client.jl:457
   [9] #9 at /builds/JuliaGPU/CUDA.jl/test/runtests.jl:73 [inlined]
   [10] macro expansion at /builds/JuliaGPU/CUDA.jl/test/setup.jl:42 [inlined]
   [11] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:1115 [inlined]
   [12] macro expansion at /builds/JuliaGPU/CUDA.jl/test/setup.jl:42 [inlined]
   [13] macro expansion at /builds/JuliaGPU/CUDA.jl/src/utilities.jl:14 [inlined]
   [14] macro expansion at /builds/JuliaGPU/CUDA.jl/src/memory.jl:416 [inlined]
   [15] top-level scope at /builds/JuliaGPU/CUDA.jl/test/setup.jl:41
   [16] eval at ./boot.jl:331 [inlined]
   [17] runtests(::Function, ::String, ::Bool, ::Nothing) at /builds/JuliaGPU/CUDA.jl/test/setup.jl:51
   [18] (::Distributed.var"#106#108"{Distributed.CallMsg{:call_fetch}})() at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Distributed/src/process_messages.jl:294
   [19] run_work_thunk(::Distributed.var"#106#108"{Distributed.CallMsg{:call_fetch}}, ::Bool) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Distributed/src/process_messages.jl:79
   [20] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Distributed/src/process_messages.jl:294 [inlined]
   [21] (::Distributed.var"#105#107"{Distributed.CallMsg{:call_fetch},Distributed.MsgHeader,Sockets.TCPSocket})() at ./task.jl:356

@maleadt maleadt added the tests Adds or changes tests. label Jun 29, 2020
@maleadt
Copy link
Member Author

maleadt commented Jun 30, 2020

Caused by #210, I reverted the commit for now.

@maleadt
Copy link
Member Author

maleadt commented Jun 30, 2020

Also noticed this one:

csrlsvchol!: Test Failed at /home/tim/Julia/pkg/CUDA/test/cusolver/cusparse.jl:80
  Expression: h_x ≈ Array(A) \ b
   Evaluated: Float32[-340.92422, -1183.5857, 949.0292, 479.49365, 904.9076, 1076.2482, 187.5954, -2834.314, 565.17883, 1223.6772] ≈ Float32[-341.14926, -1184.3685, 949.65735, 479.8094, 905.5051, 1076.9578, 187.7191, -2836.1838, 565.5522, 1224.4852]
Stacktrace:
 [1] macro expansion at /home/tim/Julia/pkg/CUDA/test/cusolver/cusparse.jl:80 [inlined]
 [2] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:1115 [inlined]
 [3] macro expansion at /home/tim/Julia/pkg/CUDA/test/cusolver/cusparse.jl:70 [inlined]
 [4] top-level scope at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:1190
Test Summary:  | Pass  Fail  Total
elty = Float32 |   22     1     23
  csrlsvlu!    |    4            4
  csrlsvqr!    |    5            5
  csrlsvchol!  |    4     1      5
  csreigvsi    |    3            3
  csreigs      |    2            2
  csrlsqvqr!   |    4            4

Looks like a tolerance issue. Bumped it on the master branch.

EDIT: I have to bump the rtol to 1e-2, which seems wrong, and at that point it fails with a SingularException later:

csrlsvchol!: Error During Test at /home/tim/Julia/pkg/CUDA/test/cusolver/cusparse.jl:69
  Got exception outside of a @test
  SingularException(10)
  Stacktrace:
   [1] csrlsvchol!(::CuSparseMatrixCSR{Float32}, ::CuArray{Float32,1,Nothing}, ::CuArray{Float32,1,Nothing}, ::Float32, ::Int32, ::Char) at /home/tim/Julia/pkg/CUDA/lib/cusolver/wrappers.jl:141

I don't really know what I'm doing here, so I'd appreciate @kshyatt or somebody else chiming in :-)

@kshyatt
Copy link
Contributor

kshyatt commented Jul 10, 2020

Now that the CUTENSOR stuff is passing I can take a swing at this

@kshyatt
Copy link
Contributor

kshyatt commented Jul 10, 2020

Hmm just rebased the original branch on top of master and can't provoke the failure? On the other hand the original tests passed too...

@kshyatt kshyatt added the cuda libraries Stuff about CUDA library wrappers. label Jul 10, 2020
@maleadt
Copy link
Member Author

maleadt commented Jul 10, 2020

can't provoke the failure

So you can't reproduce the sv2 MethodError either? These seem to happen in the CI of #283.

For the csrlsvchol one, I thought I had disabled the tests but apparently not, so maybe that failure was due to something else...

@maleadt
Copy link
Member Author

maleadt commented Dec 1, 2020

Haven't seen this for a while now.

@maleadt maleadt closed this as completed Dec 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cuda libraries Stuff about CUDA library wrappers. tests Adds or changes tests.
Projects
None yet
Development

No branches or pull requests

2 participants