Skip to content

Instantly share code, notes, and snippets.

@christiangnrd
Created March 10, 2023 20:24
Show Gist options
  • Save christiangnrd/e771c200cb00d8a74340d584e114ca1a to your computer and use it in GitHub Desktop.
Save christiangnrd/e771c200cb00d8a74340d584e114ca1a to your computer and use it in GitHub Desktop.
3 Metal.jl 0.2.0 tests on 1.8. first has some failing tests, the other two pass
(@v1.8) pkg> test Metal
Testing Metal
Status `/private/var/folders/qh/vsry6m0j0kg8h83fb0yk6hg40000gq/T/jl_aNCwji/Project.toml`
[79e6a3ab] Adapt v3.6.1
[6e4b80f9] BenchmarkTools v1.3.2
[0c68f7d7] GPUArrays v8.6.3
[dde4c033] Metal v0.2.0
[0418c028] Metal_LLVM_Tools_jll v0.3.0+2
[65323cdd] cmt_jll v0.2.0+0
[ade2ca70] Dates `@stdlib/Dates`
[8ba89e20] Distributed `@stdlib/Distributed`
[37e2e46d] LinearAlgebra `@stdlib/LinearAlgebra`
[de0858da] Printf `@stdlib/Printf`
[3fa0cd96] REPL `@stdlib/REPL`
[9a3f8284] Random `@stdlib/Random`
[10745b16] Statistics `@stdlib/Statistics`
[8dfed614] Test `@stdlib/Test`
Status `/private/var/folders/qh/vsry6m0j0kg8h83fb0yk6hg40000gq/T/jl_aNCwji/Manifest.toml`
[79e6a3ab] Adapt v3.6.1
[6e4b80f9] BenchmarkTools v1.3.2
[fa961155] CEnum v0.4.2
[e2ba6199] ExprTools v0.1.9
[0c68f7d7] GPUArrays v8.6.3
[46192b85] GPUArraysCore v0.1.4
[61eb1bfa] GPUCompiler v0.17.3
[692b3bcd] JLLWrappers v1.4.1
[682c06a0] JSON v0.21.3
[929cbde3] LLVM v4.16.0
[dde4c033] Metal v0.2.0
[69de0a69] Parsers v2.5.8
[21216c6a] Preferences v1.3.0
[189a3867] Reexport v1.2.2
[ae029012] Requires v1.3.0
[66db9d55] SnoopPrecompile v1.0.3
[a759f4b9] TimerOutputs v0.5.22
[dad2f222] LLVMExtra_jll v0.0.16+2
[0418c028] Metal_LLVM_Tools_jll v0.3.0+2
[65323cdd] cmt_jll v0.2.0+0
[0dad84c5] ArgTools v1.1.1 `@stdlib/ArgTools`
[56f22d72] Artifacts `@stdlib/Artifacts`
[2a0f44e3] Base64 `@stdlib/Base64`
[ade2ca70] Dates `@stdlib/Dates`
[8ba89e20] Distributed `@stdlib/Distributed`
[f43a241f] Downloads v1.6.0 `@stdlib/Downloads`
[7b1f6079] FileWatching `@stdlib/FileWatching`
[b77e0a4c] InteractiveUtils `@stdlib/InteractiveUtils`
[4af54fe1] LazyArtifacts `@stdlib/LazyArtifacts`
[b27032c2] LibCURL v0.6.3 `@stdlib/LibCURL`
[76f85450] LibGit2 `@stdlib/LibGit2`
[8f399da3] Libdl `@stdlib/Libdl`
[37e2e46d] LinearAlgebra `@stdlib/LinearAlgebra`
[56ddb016] Logging `@stdlib/Logging`
[d6f4376e] Markdown `@stdlib/Markdown`
[a63ad114] Mmap `@stdlib/Mmap`
[ca575930] NetworkOptions v1.2.0 `@stdlib/NetworkOptions`
[44cfe95a] Pkg v1.8.0 `@stdlib/Pkg`
[de0858da] Printf `@stdlib/Printf`
[9abbd945] Profile `@stdlib/Profile`
[3fa0cd96] REPL `@stdlib/REPL`
[9a3f8284] Random `@stdlib/Random`
[ea8e919c] SHA v0.7.0 `@stdlib/SHA`
[9e88b42a] Serialization `@stdlib/Serialization`
[6462fe0b] Sockets `@stdlib/Sockets`
[2f01184e] SparseArrays `@stdlib/SparseArrays`
[10745b16] Statistics `@stdlib/Statistics`
[fa267f1f] TOML v1.0.0 `@stdlib/TOML`
[a4e569a6] Tar v1.10.1 `@stdlib/Tar`
[8dfed614] Test `@stdlib/Test`
[cf7118a7] UUIDs `@stdlib/UUIDs`
[4ec0a83e] Unicode `@stdlib/Unicode`
[e66e0078] CompilerSupportLibraries_jll v1.0.1+0 `@stdlib/CompilerSupportLibraries_jll`
[deac9b47] LibCURL_jll v7.84.0+0 `@stdlib/LibCURL_jll`
[29816b5a] LibSSH2_jll v1.10.2+0 `@stdlib/LibSSH2_jll`
[c8ffd9c3] MbedTLS_jll v2.28.0+0 `@stdlib/MbedTLS_jll`
[14a3606d] MozillaCACerts_jll v2022.2.1 `@stdlib/MozillaCACerts_jll`
[4536629a] OpenBLAS_jll v0.3.20+0 `@stdlib/OpenBLAS_jll`
[83775a58] Zlib_jll v1.2.12+3 `@stdlib/Zlib_jll`
[8e850b90] libblastrampoline_jll v5.1.1+0 `@stdlib/libblastrampoline_jll`
[8e850ede] nghttp2_jll v1.48.0+0 `@stdlib/nghttp2_jll`
[3f19e933] p7zip_jll v17.4.0+0 `@stdlib/p7zip_jll`
Testing Running tests...
┌ Info: System information:
│ macOS 13.2.1, Darwin 21.5.0
│ Toolchain:
│ - Julia: 1.8.5
│ - LLVM: 13.0.1
│ 1 device:
└ - Apple M1 (64.000 KiB allocated)
[ Info: Using cmt library from /Users/christian/.julia/artifacts/d59ac103642d5f41c51caa5205b94e693d9934d0/lib
┌ Info: Using Metal LLVM back-end from /Users/christian/.julia/artifacts/478a7754902a9d632e18b81bf0cb12997d0276c7/bin:
│ LLVM (http://llvm.org/):
│ LLVM version 13.0.1
│ Optimized build.
│ Default target: aarch64-apple-darwin22.3.0
└ Host CPU: cyclone
[ Info: Running 4 tests in parallel. If this is too many, specify the `--jobs` argument to the tests, or set the JULIA_CPU_THREADS environment variable.
| | ---------------- CPU ---------------- |
Test (Worker) | Time (s) | GC (s) | GC % | Alloc (MB) | RSS (MB) |
From worker 2: ┌ Warning: Metal does not support Float64 values, try using Float32 instead
From worker 2: └ @ Metal ~/.julia/packages/Metal/X47vU/src/array.jl:38
metal (5) | 1.85 | 0.03 | 1.5 | 197.12 | 550.20 |
execution (4) | 9.99 | 0.43 | 4.3 | 1916.80 | 563.17 |
mps (5) | 8.93 | 0.43 | 4.8 | 1477.98 | 554.92 |
From worker 6: 2023-03-10 14:37:14.705 julia[87575:9564364] Metal GPU Frame Capture Enabled
array (2) | 19.51 | 1.31 | 6.7 | 4214.40 | 565.67 |
From worker 6: [ Info: GPU frame capture saved to /private/var/folders/qh/vsry6m0j0kg8h83fb0yk6hg40000gq/T/jl_1c72tg/test.gputrace/julia_capture_1.gputrace/
profiling (6) | 6.78 | 0.33 | 4.9 | 963.85 | 507.02 |
gpuarrays/indexing scalar (2) | 11.54 | 0.73 | 6.3 | 2880.33 | 586.95 |
examples (3) | 39.93 | 0.00 | 0.0 | 15.42 | 522.80 |
device/intrinsics (5) | 32.26 | 2.08 | 6.4 | 8714.56 | 650.25 |
gpuarrays/math/power (3) | 38.17 | 2.95 | 7.7 | 9028.59 | 703.41 |
gpuarrays/linalg/mul!/vector-matrix (5) | 64.46 | 3.90 | 6.1 | 15586.00 | 964.80 |
gpuarrays/indexing find (3) | 34.60 | 2.17 | 6.3 | 9325.91 | 812.06 |
gpuarrays/interface (3) | 4.36 | 0.26 | 6.0 | 1021.18 | 817.66 |
gpuarrays/indexing multidimensional (5) | 28.78 | 1.62 | 5.6 | 6849.82 | 964.80 |
gpuarrays/reductions/any all count (3) | 23.01 | 1.30 | 5.7 | 6170.40 | 817.66 |
gpuarrays/uniformscaling (3) | 7.28 | 0.30 | 4.1 | 1362.03 | 817.66 |
gpuarrays/linalg (2) | 124.86 | 6.29 | 5.0 | 30858.42 | 1253.78 |
gpuarrays/math/intrinsics (2) | 2.61 | 0.14 | 5.2 | 614.44 | 1253.78 |
gpuarrays/reductions/reducedim! (7) | 142.83 | 8.26 | 5.8 | 37688.47 | 870.30 |
gpuarrays/statistics (7) | 77.65 | 6.55 | 8.4 | 15681.25 | 870.30 |
gpuarrays/linalg/mul!/matrix-matrix (3) | 136.84 | 11.46 | 8.4 | 22898.79 | 817.66 |
gpuarrays/linalg/norm (2) | 129.45 | 14.04 | 10.8 | 21001.55 | 1253.78 |
gpuarrays/random (2) | 33.69 | 5.27 | 15.6 | 3949.76 | 1253.78 |
gpuarrays/constructors (3) | 41.96 | 5.41 | 12.9 | 5253.03 | 817.66 |
gpuarrays/base (2) | 45.55 | 5.76 | 12.6 | 6710.71 | 1253.78 |
gpuarrays/reductions/== isequal (3) | failed at 2023-03-10T14:44:36.874
gpuarrays/reductions/minimum maximum extrema (5) | 437.71 | 40.58 | 9.3 | 74415.49 | 1149.61 |
gpuarrays/broadcasting (2) | 374.21 | 38.07 | 10.2 | 48032.36 | 1253.78 |
gpuarrays/reductions/mapreduce (7) | 551.93 | 61.46 | 11.1 | 70898.04 | 1118.73 |
gpuarrays/reductions/mapreducedim! (8) | 353.34 | 39.82 | 11.3 | 59960.23 | 902.47 |
gpuarrays/reductions/reduce (5) | 367.07 | 30.74 | 8.4 | 47343.41 | 2133.25 |
gpuarrays/reductions/sum prod (2) | 288.87 | 16.78 | 5.8 | 59265.53 | 2376.53 |
Testing finished in 17 minutes, 17 seconds, 944 milliseconds
Worker 3 failed running test gpuarrays/reductions/== isequal:
Some tests did not pass: 247 passed, 1 failed, 0 errored, 0 broken.
gpuarrays/reductions/== isequal: Test Failed at /Users/christian/.julia/packages/GPUArrays/6STCb/test/testsuite/reductions.jl:173
Expression: compare(((A, B)->begin
isequal(A, B)
end), AT, Ac, Ac)
Stacktrace:
[1] backtrace()
@ Base ./error.jl:114
[2] record(ts::Test.DefaultTestSet, t::Union{Test.Error, Test.Fail})
@ Test ~/.julia/juliaup/julia-1.8.5+0.aarch64.apple.darwin14/share/julia/stdlib/v1.8/Test/src/Test.jl:986
[3] top-level scope
@ ~/.julia/packages/Metal/X47vU/test/runtests.jl:364
[4] include(fname::String)
@ Base.MainInclude ./client.jl:476
[5] top-level scope
@ none:6
[6] eval
@ ./boot.jl:368 [inlined]
[7] exec_options(opts::Base.JLOptions)
@ Base ./client.jl:276
[8] _start()
@ Base ./client.jl:522
Test Summary: | Pass Fail Total Time
Overall | 5601 1 5602
metal | 128 128
execution | 16 16
mps | 5 5
array | 60 60
profiling | 24 24
gpuarrays/indexing scalar | 398 398
examples | 3 3
device/intrinsics | 25 25
gpuarrays/math/power | None
gpuarrays/linalg/mul!/vector-matrix | 140 140
gpuarrays/indexing find | 45 45
gpuarrays/interface | 7 7
gpuarrays/indexing multidimensional | 42 42
gpuarrays/reductions/any all count | 101 101
gpuarrays/uniformscaling | 56 56
gpuarrays/linalg | 233 233
gpuarrays/math/intrinsics | 10 10
gpuarrays/reductions/reducedim! | 160 160
gpuarrays/statistics | 52 52
gpuarrays/linalg/mul!/matrix-matrix | 360 360
gpuarrays/linalg/norm | 264 264
gpuarrays/random | 50 50
gpuarrays/constructors | 770 770
gpuarrays/base | 73 73
gpuarrays/reductions/== isequal | 247 1 248
gpuarrays/reductions/minimum maximum extrema | 555 555
gpuarrays/broadcasting | 331 331
gpuarrays/reductions/mapreduce | 330 330
gpuarrays/reductions/mapreducedim! | 260 260
gpuarrays/reductions/reduce | 220 220
gpuarrays/reductions/sum prod | 636 636
FAILURE
Error in testset gpuarrays/reductions/== isequal:
Test Failed at /Users/christian/.julia/packages/GPUArrays/6STCb/test/testsuite/reductions.jl:173
Expression: compare(((A, B)->begin
isequal(A, B)
end), AT, Ac, Ac)
ERROR: LoadError: Test run finished with errors
in expression starting at /Users/christian/.julia/packages/Metal/X47vU/test/runtests.jl:395
ERROR: Package Metal errored during testing
(@v1.8) pkg> test Metal
Testing Metal
Status `/private/var/folders/qh/vsry6m0j0kg8h83fb0yk6hg40000gq/T/jl_n6IB2k/Project.toml`
[79e6a3ab] Adapt v3.6.1
[6e4b80f9] BenchmarkTools v1.3.2
[0c68f7d7] GPUArrays v8.6.3
[dde4c033] Metal v0.2.0
[0418c028] Metal_LLVM_Tools_jll v0.3.0+2
[65323cdd] cmt_jll v0.2.0+0
[ade2ca70] Dates `@stdlib/Dates`
[8ba89e20] Distributed `@stdlib/Distributed`
[37e2e46d] LinearAlgebra `@stdlib/LinearAlgebra`
[de0858da] Printf `@stdlib/Printf`
[3fa0cd96] REPL `@stdlib/REPL`
[9a3f8284] Random `@stdlib/Random`
[10745b16] Statistics `@stdlib/Statistics`
[8dfed614] Test `@stdlib/Test`
Status `/private/var/folders/qh/vsry6m0j0kg8h83fb0yk6hg40000gq/T/jl_n6IB2k/Manifest.toml`
[79e6a3ab] Adapt v3.6.1
[6e4b80f9] BenchmarkTools v1.3.2
[fa961155] CEnum v0.4.2
[e2ba6199] ExprTools v0.1.9
[0c68f7d7] GPUArrays v8.6.3
[46192b85] GPUArraysCore v0.1.4
[61eb1bfa] GPUCompiler v0.17.3
[692b3bcd] JLLWrappers v1.4.1
[682c06a0] JSON v0.21.3
[929cbde3] LLVM v4.16.0
[dde4c033] Metal v0.2.0
[69de0a69] Parsers v2.5.8
[21216c6a] Preferences v1.3.0
[189a3867] Reexport v1.2.2
[ae029012] Requires v1.3.0
[66db9d55] SnoopPrecompile v1.0.3
[a759f4b9] TimerOutputs v0.5.22
[dad2f222] LLVMExtra_jll v0.0.16+2
[0418c028] Metal_LLVM_Tools_jll v0.3.0+2
[65323cdd] cmt_jll v0.2.0+0
[0dad84c5] ArgTools v1.1.1 `@stdlib/ArgTools`
[56f22d72] Artifacts `@stdlib/Artifacts`
[2a0f44e3] Base64 `@stdlib/Base64`
[ade2ca70] Dates `@stdlib/Dates`
[8ba89e20] Distributed `@stdlib/Distributed`
[f43a241f] Downloads v1.6.0 `@stdlib/Downloads`
[7b1f6079] FileWatching `@stdlib/FileWatching`
[b77e0a4c] InteractiveUtils `@stdlib/InteractiveUtils`
[4af54fe1] LazyArtifacts `@stdlib/LazyArtifacts`
[b27032c2] LibCURL v0.6.3 `@stdlib/LibCURL`
[76f85450] LibGit2 `@stdlib/LibGit2`
[8f399da3] Libdl `@stdlib/Libdl`
[37e2e46d] LinearAlgebra `@stdlib/LinearAlgebra`
[56ddb016] Logging `@stdlib/Logging`
[d6f4376e] Markdown `@stdlib/Markdown`
[a63ad114] Mmap `@stdlib/Mmap`
[ca575930] NetworkOptions v1.2.0 `@stdlib/NetworkOptions`
[44cfe95a] Pkg v1.8.0 `@stdlib/Pkg`
[de0858da] Printf `@stdlib/Printf`
[9abbd945] Profile `@stdlib/Profile`
[3fa0cd96] REPL `@stdlib/REPL`
[9a3f8284] Random `@stdlib/Random`
[ea8e919c] SHA v0.7.0 `@stdlib/SHA`
[9e88b42a] Serialization `@stdlib/Serialization`
[6462fe0b] Sockets `@stdlib/Sockets`
[2f01184e] SparseArrays `@stdlib/SparseArrays`
[10745b16] Statistics `@stdlib/Statistics`
[fa267f1f] TOML v1.0.0 `@stdlib/TOML`
[a4e569a6] Tar v1.10.1 `@stdlib/Tar`
[8dfed614] Test `@stdlib/Test`
[cf7118a7] UUIDs `@stdlib/UUIDs`
[4ec0a83e] Unicode `@stdlib/Unicode`
[e66e0078] CompilerSupportLibraries_jll v1.0.1+0 `@stdlib/CompilerSupportLibraries_jll`
[deac9b47] LibCURL_jll v7.84.0+0 `@stdlib/LibCURL_jll`
[29816b5a] LibSSH2_jll v1.10.2+0 `@stdlib/LibSSH2_jll`
[c8ffd9c3] MbedTLS_jll v2.28.0+0 `@stdlib/MbedTLS_jll`
[14a3606d] MozillaCACerts_jll v2022.2.1 `@stdlib/MozillaCACerts_jll`
[4536629a] OpenBLAS_jll v0.3.20+0 `@stdlib/OpenBLAS_jll`
[83775a58] Zlib_jll v1.2.12+3 `@stdlib/Zlib_jll`
[8e850b90] libblastrampoline_jll v5.1.1+0 `@stdlib/libblastrampoline_jll`
[8e850ede] nghttp2_jll v1.48.0+0 `@stdlib/nghttp2_jll`
[3f19e933] p7zip_jll v17.4.0+0 `@stdlib/p7zip_jll`
Testing Running tests...
┌ Info: System information:
│ macOS 13.2.1, Darwin 21.5.0
│ Toolchain:
│ - Julia: 1.8.5
│ - LLVM: 13.0.1
│ 1 device:
└ - Apple M1 (64.000 KiB allocated)
[ Info: Using cmt library from /Users/christian/.julia/artifacts/d59ac103642d5f41c51caa5205b94e693d9934d0/lib
┌ Info: Using Metal LLVM back-end from /Users/christian/.julia/artifacts/478a7754902a9d632e18b81bf0cb12997d0276c7/bin:
│ LLVM (http://llvm.org/):
│ LLVM version 13.0.1
│ Optimized build.
│ Default target: aarch64-apple-darwin22.3.0
└ Host CPU: cyclone
[ Info: Running 4 tests in parallel. If this is too many, specify the `--jobs` argument to the tests, or set the JULIA_CPU_THREADS environment variable.
| | ---------------- CPU ---------------- |
Test (Worker) | Time (s) | GC (s) | GC % | Alloc (MB) | RSS (MB) |
From worker 2: ┌ Warning: Metal does not support Float64 values, try using Float32 instead
From worker 2: └ @ Metal ~/.julia/packages/Metal/X47vU/src/array.jl:38
metal (5) | 1.68 | 0.02 | 1.5 | 197.12 | 548.64 |
execution (4) | 9.72 | 0.40 | 4.1 | 1916.80 | 570.09 |
mps (5) | 8.46 | 0.39 | 4.6 | 1477.83 | 558.05 |
From worker 6: 2023-03-10 14:56:24.032 julia[92107:9575508] Metal GPU Frame Capture Enabled
array (2) | 19.93 | 1.34 | 6.7 | 4214.39 | 567.34 |
From worker 6: [ Info: GPU frame capture saved to /private/var/folders/qh/vsry6m0j0kg8h83fb0yk6hg40000gq/T/jl_qHqWPt/test.gputrace/julia_capture_1.gputrace/
profiling (6) | 7.01 | 0.44 | 6.3 | 963.85 | 612.30 |
gpuarrays/indexing scalar (2) | 11.25 | 0.76 | 6.7 | 2880.40 | 661.94 |
examples (3) | 37.50 | 0.00 | 0.0 | 15.42 | 524.23 |
device/intrinsics (5) | 32.70 | 2.24 | 6.9 | 8714.64 | 692.72 |
gpuarrays/math/power (3) | 37.53 | 2.99 | 8.0 | 9028.60 | 708.34 |
gpuarrays/linalg/mul!/vector-matrix (5) | 63.33 | 3.64 | 5.7 | 15585.99 | 989.84 |
gpuarrays/indexing find (3) | 34.10 | 2.14 | 6.3 | 9325.91 | 918.58 |
gpuarrays/interface (3) | 4.31 | 0.25 | 5.9 | 1021.20 | 918.58 |
gpuarrays/indexing multidimensional (5) | 28.48 | 1.63 | 5.7 | 6849.73 | 1047.84 |
gpuarrays/reductions/any all count (3) | 22.86 | 1.32 | 5.8 | 6170.35 | 918.58 |
gpuarrays/uniformscaling (3) | 7.23 | 0.31 | 4.3 | 1362.08 | 920.41 |
gpuarrays/linalg (2) | 123.68 | 6.43 | 5.2 | 30858.34 | 1513.05 |
gpuarrays/math/intrinsics (2) | 2.54 | 0.14 | 5.3 | 614.44 | 1513.05 |
gpuarrays/reductions/reducedim! (7) | 140.05 | 7.99 | 5.7 | 37687.00 | 1059.48 |
gpuarrays/statistics (7) | 62.49 | 3.58 | 5.7 | 15681.25 | 1238.22 |
gpuarrays/linalg/norm (2) | 91.79 | 4.42 | 4.8 | 21001.57 | 1513.05 |
gpuarrays/linalg/mul!/matrix-matrix (3) | 106.45 | 4.91 | 4.6 | 22899.02 | 1057.03 |
gpuarrays/constructors (2) | 15.99 | 0.73 | 4.5 | 2980.10 | 1513.05 |
gpuarrays/random (3) | 18.12 | 1.01 | 5.6 | 4120.70 | 1057.03 |
gpuarrays/base (2) | 39.50 | 3.68 | 9.3 | 6725.01 | 1513.05 |
gpuarrays/reductions/== isequal (3) | 138.73 | 13.78 | 9.9 | 18978.12 | 1057.03 |
gpuarrays/reductions/minimum maximum extrema (5) | 506.16 | 51.95 | 10.3 | 74415.38 | 1190.84 |
gpuarrays/broadcasting (2) | 552.15 | 73.16 | 13.2 | 47852.69 | 1513.05 |
gpuarrays/reductions/mapreduce (7) | 687.18 | 87.50 | 12.7 | 70896.98 | 1238.22 |
gpuarrays/reductions/mapreducedim! (3) | 593.15 | 70.61 | 11.9 | 58374.39 | 1182.70 |
gpuarrays/reductions/reduce (5) | 444.19 | 43.63 | 9.8 | 47343.80 | 1987.50 |
gpuarrays/reductions/sum prod (2) | 314.87 | 22.31 | 7.1 | 58690.85 | 2585.58 |
Testing finished in 19 minutes, 40 seconds, 11 milliseconds
Test Summary: | Pass Total Time
Overall | 5602 5602
SUCCESS
Testing Metal tests passed
(@v1.8) pkg> test Metal
Testing Metal
Status `/private/var/folders/qh/vsry6m0j0kg8h83fb0yk6hg40000gq/T/jl_SsV43k/Project.toml`
[79e6a3ab] Adapt v3.6.1
[6e4b80f9] BenchmarkTools v1.3.2
[0c68f7d7] GPUArrays v8.6.3
[dde4c033] Metal v0.2.0
[0418c028] Metal_LLVM_Tools_jll v0.3.0+2
[65323cdd] cmt_jll v0.2.0+0
[ade2ca70] Dates `@stdlib/Dates`
[8ba89e20] Distributed `@stdlib/Distributed`
[37e2e46d] LinearAlgebra `@stdlib/LinearAlgebra`
[de0858da] Printf `@stdlib/Printf`
[3fa0cd96] REPL `@stdlib/REPL`
[9a3f8284] Random `@stdlib/Random`
[10745b16] Statistics `@stdlib/Statistics`
[8dfed614] Test `@stdlib/Test`
Status `/private/var/folders/qh/vsry6m0j0kg8h83fb0yk6hg40000gq/T/jl_SsV43k/Manifest.toml`
[79e6a3ab] Adapt v3.6.1
[6e4b80f9] BenchmarkTools v1.3.2
[fa961155] CEnum v0.4.2
[e2ba6199] ExprTools v0.1.9
[0c68f7d7] GPUArrays v8.6.3
[46192b85] GPUArraysCore v0.1.4
[61eb1bfa] GPUCompiler v0.17.3
[692b3bcd] JLLWrappers v1.4.1
[682c06a0] JSON v0.21.3
[929cbde3] LLVM v4.16.0
[dde4c033] Metal v0.2.0
[69de0a69] Parsers v2.5.8
[21216c6a] Preferences v1.3.0
[189a3867] Reexport v1.2.2
[ae029012] Requires v1.3.0
[66db9d55] SnoopPrecompile v1.0.3
[a759f4b9] TimerOutputs v0.5.22
[dad2f222] LLVMExtra_jll v0.0.16+2
[0418c028] Metal_LLVM_Tools_jll v0.3.0+2
[65323cdd] cmt_jll v0.2.0+0
[0dad84c5] ArgTools v1.1.1 `@stdlib/ArgTools`
[56f22d72] Artifacts `@stdlib/Artifacts`
[2a0f44e3] Base64 `@stdlib/Base64`
[ade2ca70] Dates `@stdlib/Dates`
[8ba89e20] Distributed `@stdlib/Distributed`
[f43a241f] Downloads v1.6.0 `@stdlib/Downloads`
[7b1f6079] FileWatching `@stdlib/FileWatching`
[b77e0a4c] InteractiveUtils `@stdlib/InteractiveUtils`
[4af54fe1] LazyArtifacts `@stdlib/LazyArtifacts`
[b27032c2] LibCURL v0.6.3 `@stdlib/LibCURL`
[76f85450] LibGit2 `@stdlib/LibGit2`
[8f399da3] Libdl `@stdlib/Libdl`
[37e2e46d] LinearAlgebra `@stdlib/LinearAlgebra`
[56ddb016] Logging `@stdlib/Logging`
[d6f4376e] Markdown `@stdlib/Markdown`
[a63ad114] Mmap `@stdlib/Mmap`
[ca575930] NetworkOptions v1.2.0 `@stdlib/NetworkOptions`
[44cfe95a] Pkg v1.8.0 `@stdlib/Pkg`
[de0858da] Printf `@stdlib/Printf`
[9abbd945] Profile `@stdlib/Profile`
[3fa0cd96] REPL `@stdlib/REPL`
[9a3f8284] Random `@stdlib/Random`
[ea8e919c] SHA v0.7.0 `@stdlib/SHA`
[9e88b42a] Serialization `@stdlib/Serialization`
[6462fe0b] Sockets `@stdlib/Sockets`
[2f01184e] SparseArrays `@stdlib/SparseArrays`
[10745b16] Statistics `@stdlib/Statistics`
[fa267f1f] TOML v1.0.0 `@stdlib/TOML`
[a4e569a6] Tar v1.10.1 `@stdlib/Tar`
[8dfed614] Test `@stdlib/Test`
[cf7118a7] UUIDs `@stdlib/UUIDs`
[4ec0a83e] Unicode `@stdlib/Unicode`
[e66e0078] CompilerSupportLibraries_jll v1.0.1+0 `@stdlib/CompilerSupportLibraries_jll`
[deac9b47] LibCURL_jll v7.84.0+0 `@stdlib/LibCURL_jll`
[29816b5a] LibSSH2_jll v1.10.2+0 `@stdlib/LibSSH2_jll`
[c8ffd9c3] MbedTLS_jll v2.28.0+0 `@stdlib/MbedTLS_jll`
[14a3606d] MozillaCACerts_jll v2022.2.1 `@stdlib/MozillaCACerts_jll`
[4536629a] OpenBLAS_jll v0.3.20+0 `@stdlib/OpenBLAS_jll`
[83775a58] Zlib_jll v1.2.12+3 `@stdlib/Zlib_jll`
[8e850b90] libblastrampoline_jll v5.1.1+0 `@stdlib/libblastrampoline_jll`
[8e850ede] nghttp2_jll v1.48.0+0 `@stdlib/nghttp2_jll`
[3f19e933] p7zip_jll v17.4.0+0 `@stdlib/p7zip_jll`
Testing Running tests...
┌ Info: System information:
│ macOS 13.2.1, Darwin 21.5.0
│ Toolchain:
│ - Julia: 1.8.5
│ - LLVM: 13.0.1
│ 1 device:
└ - Apple M1 (64.000 KiB allocated)
[ Info: Using cmt library from /Users/christian/.julia/artifacts/d59ac103642d5f41c51caa5205b94e693d9934d0/lib
┌ Info: Using Metal LLVM back-end from /Users/christian/.julia/artifacts/478a7754902a9d632e18b81bf0cb12997d0276c7/bin:
│ LLVM (http://llvm.org/):
│ LLVM version 13.0.1
│ Optimized build.
│ Default target: aarch64-apple-darwin22.3.0
└ Host CPU: cyclone
[ Info: Running 4 tests in parallel. If this is too many, specify the `--jobs` argument to the tests, or set the JULIA_CPU_THREADS environment variable.
| | ---------------- CPU ---------------- |
Test (Worker) | Time (s) | GC (s) | GC % | Alloc (MB) | RSS (MB) |
From worker 2: ┌ Warning: Metal does not support Float64 values, try using Float32 instead
From worker 2: └ @ Metal ~/.julia/packages/Metal/X47vU/src/array.jl:38
metal (5) | 1.68 | 0.03 | 1.6 | 197.12 | 549.98 |
execution (4) | 9.46 | 0.39 | 4.2 | 1917.06 | 565.75 |
mps (5) | 8.17 | 0.37 | 4.6 | 1477.91 | 567.03 |
From worker 6: 2023-03-10 15:23:18.022 julia[96530:9586342] Metal GPU Frame Capture Enabled
array (2) | 19.89 | 1.43 | 7.2 | 4214.39 | 568.75 |
From worker 6: [ Info: GPU frame capture saved to /private/var/folders/qh/vsry6m0j0kg8h83fb0yk6hg40000gq/T/jl_X9Vajj/test.gputrace/julia_capture_1.gputrace/
profiling (6) | 7.04 | 0.45 | 6.4 | 963.85 | 613.67 |
gpuarrays/indexing scalar (2) | 11.28 | 0.75 | 6.6 | 2880.25 | 649.97 |
examples (3) | 36.99 | 0.00 | 0.0 | 15.42 | 521.73 |
device/intrinsics (5) | 32.64 | 2.23 | 6.8 | 8714.56 | 733.64 |
gpuarrays/math/power (3) | 37.41 | 2.93 | 7.8 | 9028.61 | 740.41 |
gpuarrays/linalg/mul!/vector-matrix (5) | 62.79 | 3.75 | 6.0 | 15585.99 | 1079.58 |
gpuarrays/indexing find (3) | 34.17 | 2.22 | 6.5 | 9325.91 | 961.02 |
gpuarrays/interface (3) | 4.26 | 0.27 | 6.3 | 1021.18 | 961.02 |
gpuarrays/indexing multidimensional (5) | 28.20 | 1.66 | 5.9 | 6849.81 | 1079.58 |
gpuarrays/reductions/any all count (3) | 22.74 | 1.29 | 5.7 | 6170.15 | 961.02 |
gpuarrays/uniformscaling (3) | 7.21 | 0.30 | 4.2 | 1362.04 | 961.02 |
gpuarrays/linalg (2) | 123.51 | 6.11 | 4.9 | 30857.77 | 1468.02 |
gpuarrays/math/intrinsics (2) | 2.52 | 0.10 | 4.1 | 614.44 | 1468.02 |
gpuarrays/reductions/reducedim! (7) | 139.48 | 7.93 | 5.7 | 37686.37 | 1012.91 |
gpuarrays/statistics (7) | 62.53 | 3.68 | 5.9 | 15681.25 | 1227.08 |
gpuarrays/linalg/mul!/matrix-matrix (3) | 104.54 | 4.90 | 4.7 | 22898.74 | 1132.73 |
gpuarrays/linalg/norm (2) | 91.52 | 4.45 | 4.9 | 21001.57 | 1469.38 |
gpuarrays/random (2) | 17.21 | 0.82 | 4.8 | 3949.70 | 1469.38 |
gpuarrays/constructors (3) | 23.93 | 1.12 | 4.7 | 5253.33 | 1132.73 |
gpuarrays/base (2) | 31.60 | 1.90 | 6.0 | 6710.95 | 1469.38 |
gpuarrays/reductions/== isequal (3) | 133.25 | 12.69 | 9.5 | 18879.74 | 1132.73 |
gpuarrays/reductions/minimum maximum extrema (5) | 467.78 | 43.89 | 9.4 | 74415.19 | 1134.16 |
gpuarrays/broadcasting (2) | 520.10 | 64.66 | 12.4 | 48032.09 | 1469.38 |
gpuarrays/reductions/mapreduce (7) | 649.77 | 78.92 | 12.1 | 70896.96 | 1227.08 |
gpuarrays/reductions/mapreducedim! (3) | 570.64 | 65.16 | 11.4 | 57942.15 | 1200.92 |
gpuarrays/reductions/reduce (5) | 453.71 | 44.41 | 9.8 | 47344.15 | 1896.48 |
gpuarrays/reductions/sum prod (2) | 330.79 | 24.38 | 7.4 | 59265.41 | 2481.39 |
Testing finished in 19 minutes, 16 seconds, 73 milliseconds
Test Summary: | Pass Total Time
Overall | 5602 5602
SUCCESS
Testing Metal tests passed
(@v1.8) pkg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment