Hello,
This is my first posting, and I am new to Julia. I have to say I love Julia so far, once I got over my ‘scoping annoyances’.
So far I programmed a multithreaded prime-generating program on the CPU which was good fun (and superfast). Now I am trying to get into GPU programming (CUDA)
My question concerns the output of the “test CUDA” command.
I am not sure how to format this nicely, but here is the output.
The testingsuite is complaining about: testset core\initialization.
I run on a MSI laptop
OS: win11 prof
nvideacard: NVIDIA GeForce RTX 4080 Laptop GPU
Can anybody advise me on this topic?
PS: I tried to post the whole output, but it was too much for this forum. So I cut away most, end left only the summary.
Regards,
Erwin Moller
julia>
(@v1.10) pkg> add CUDA
Resolving package versions…
No Changes to C:\Users\Erwin\.julia\environments\v1.10\Project.toml
No Changes to C:\Users\Erwin\.julia\environments\v1.10\Manifest.toml
(@v1.10) pkg> test CUDA
Testing CUDA
Status C:\Users\Erwin\AppData\Local\Temp\jl_1vbZLL\Project.toml
⌅ [79e6a3ab] Adapt v3.7.2
(SNIP)
Test Summary: | Pass Fail Error Broken Total Time
Overall | 20427 5 2 9 20443
core/initialization | 1 1
gpuarrays\interface | 7 7
gpuarrays\uniformscaling | 56 56
gpuarrays\indexing scalar | 477 477
gpuarrays\reductions/any all count | 101 101
gpuarrays\math/intrinsics | 12 12
gpuarrays\indexing find | 45 45
gpuarrays\indexing multidimensional | 70 70
gpuarrays\math/power | 72 72
gpuarrays\reductions/mapreducedim!_large | 50 50
gpuarrays\reductions/reducedim! | 192 192
gpuarrays\linalg/mul!/vector-matrix | 168 168
gpuarrays\random | 62 62
gpuarrays\constructors | 900 900
gpuarrays\statistics | 84 84
gpuarrays\base | 75 75
gpuarrays\linalg | 275 275
base\aqua | 7 1 1 9
gpuarrays\linalg/mul!/matrix-matrix | 432 432
gpuarrays\reductions/== isequal | 312 312
base\broadcast | 22 22
gpuarrays\reductions/mapreduce | 396 396
base\iterator | 43 43
gpuarrays\reductions/mapreducedim! | 312 312
gpuarrays\linalg/norm | 696 696
base\linalg | 21 21
gpuarrays\reductions/reduce | 264 264
base\exceptions | 17 17
base\random | 125 125
core\apiutils | 6 6
gpuarrays\reductions/minimum maximum extrema | 666 666
base\threading | None
core\codegen | 14 14
base\examples | 7 7
core\nvml | 11 11
core\initialization | 26 4 30
core\pointer | 35 35
core\cudadrv | 138 1 139
core\utils | 55 55
base\kernelabstractions | 2361 4 2365
core\device\array | 20 20
base\array | 343 343
core\pool | 10 10
core\device\ldg | 22 22
core\device\intrinsics | 38 38
core\device\intrinsics\memory | 16 16
base\texture | 38 4 42
gpuarrays\reductions/sum prod | 862 862
core\device\random | 156 156
libraries\curand | 1 1
core\execution | 78 78
core\device\intrinsics\output | 40 40
core\device\intrinsics\atomics | 147 147
libraries\cufft | 177 177
core\device\intrinsics\math | 104 104
libraries\cusolver\multigpu | 30 30
libraries\cusparse\device | 10 10
libraries\cusolver\sparse | 112 112
gpuarrays\broadcasting | 402 402
base\sorting | 273 273
libraries\cusparse\conversions | 130 130
libraries\cusparse\broadcast | 65 65
libraries\cusparse | 713 713
core\device\intrinsics\wmma | 446 446
libraries\cusparse\linalg | 86 86
libraries\cusparse\generic | 1076 1076
libraries\cublas | 2256 2256
libraries\cusolver\dense | 2424 2424
libraries\cusparse\interfaces | 1740 1740
FAILURE
Error in testset core/initialization:
Error During Test at none:1
Got exception outside of a @test
KeyError: key “core/initialization” not found
Error in testset base\aqua:
Test Failed at C:\Users\Erwin.julia\packages\Aqua\9p8ck\src\deps_compat.jl:60
Expression: isempty(result)
Evaluated: isempty(Base.PkgId[LazyArtifacts [4af54fe1-eca0-43a8-85a7-787d91b784e3], Libdl [8f399da3-3557-5675-b5ff-fb832c97cbdb], LinearAlgebra [37e2e46d-f89d-539d-b4ee-838fcccc9c8e], Logging [56ddb016-857b-54e1-b83d-db4d58db5568], Printf [de0858da-6303-5e67-8744-51eddeeeb8d7], Random [9a3f8284-a2c9-5f02-9a11-845980a1fd5c], SparseArrays [2f01184e-e22b-5df5-ae63-d93ebab69eaf]])
Error in testset base\aqua:
Error During Test at C:\Users\Erwin.julia\packages\CUDA\35NC6\test\setup.jl:66
Got exception outside of a @test
LoadError: UndefVarError: test_project_toml_formatting
not defined
Stacktrace:
[1] getproperty(x::Module, f::Symbol)
@ Base .\Base.jl:31
[2] top-level scope
@ C:\Users\Erwin.julia\packages\CUDA\35NC6\test\base\aqua.jl:20
[3] include
@ .\client.jl:489 [inlined]
[4] #13
@ C:\Users\Erwin.julia\packages\CUDA\35NC6\test\runtests.jl:97 [inlined]
[5] macro expansion
@ C:\Users\Erwin.julia\packages\CUDA\35NC6\test\setup.jl:67 [inlined]
[6] macro expansion
@ C:\Users\Erwin.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Test\src\Test.jl:1577 [inlined]
[7] macro expansion
@ C:\Users\Erwin.julia\packages\CUDA\35NC6\test\setup.jl:67 [inlined]
[8] macro expansion
@ C:\Users\Erwin.julia\packages\CUDA\35NC6\src\utilities.jl:25 [inlined]
[9] macro expansion
@ C:\Users\Erwin.julia\packages\CUDA\35NC6\src\pool.jl:607 [inlined]
[10] top-level scope
@ C:\Users\Erwin.julia\packages\CUDA\35NC6\test\setup.jl:66
[11] eval
@ .\boot.jl:385 [inlined]
[12] runtests(f::Function, name::String, time_source::Symbol)
@ Main C:\Users\Erwin.julia\packages\CUDA\35NC6\test\setup.jl:78
[13] invokelatest(::Any, ::Any, ::Vararg{Any}; kwargs::@Kwargs{})
@ Base .\essentials.jl:892
[14] invokelatest(::Any, ::Any, ::Vararg{Any})
@ Base .\essentials.jl:889
[15] (::Distributed.var"#110#112"{Distributed.CallMsg{:call_fetch}})()
@ Distributed C:\Users\Erwin.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Distributed\src\process_messages.jl:287
[16] run_work_thunk(thunk::Distributed.var"#110#112"{Distributed.CallMsg{:call_fetch}}, print_error::Bool)
@ Distributed C:\Users\Erwin.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Distributed\src\process_messages.jl:70
[17] (::Distributed.var"#109#111"{Distributed.CallMsg{:call_fetch}, Distributed.MsgHeader, Sockets.TCPSocket})()
@ Distributed C:\Users\Erwin.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Distributed\src\process_messages.jl:287
in expression starting at C:\Users\Erwin.julia\packages\CUDA\35NC6\test\base\aqua.jl:20
Error in testset core\initialization:
Test Failed at C:\Users\Erwin.julia\packages\CUDA\35NC6\test\core\initialization.jl:5
Expression: !(has_context())
Error in testset core\initialization:
Test Failed at C:\Users\Erwin.julia\packages\CUDA\35NC6\test\core\initialization.jl:6
Expression: !(has_device())
Error in testset core\initialization:
Test Failed at C:\Users\Erwin.julia\packages\CUDA\35NC6\test\core\initialization.jl:12
Expression: !(has_context())
Error in testset core\initialization:
Test Failed at C:\Users\Erwin.julia\packages\CUDA\35NC6\test\core\initialization.jl:13
Expression: !(has_device())
ERROR: LoadError: Test run finished with errors
in expression starting at C:\Users\Erwin.julia\packages\CUDA\35NC6\test\runtests.jl:458
ERROR: Package CUDA errored during testing
(@v1.10) pkg>