You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When benchmarking an operation that ends up returning a CuArray, the REPL becomes irresponsive for several seconds after the output of the benchmark was printed, only for printing the resulting array.
This is what I see in the example below:
Computing and printing the product of two arrays is fast, as expected.
Now when I try to benchmark the same operation:
2. 1. Until printing 1000×1000 CuArray{Float64, 2, CUDA.DeviceMemory}: everything is normal.
2. 2. It takes 2 minutes to print the resulting array, after 2.1.
The problem also occurs on Julia 1.11 (no startup file, only CUDA and BenchmarkTools installed). It is not always reproducible, but for me it occurs more often than not.
When benchmarking an operation that ends up returning a
CuArray
, the REPL becomes irresponsive for several seconds after the output of the benchmark was printed, only for printing the resulting array.This is what I see in the example below:
2. 1. Until printing
1000×1000 CuArray{Float64, 2, CUDA.DeviceMemory}:
everything is normal.2. 2. It takes 2 minutes to print the resulting array, after 2.1.
julia> versioninfo() Julia Version 1.10.6 Commit 67dffc4a8ae (2024-10-28 12:23 UTC) Build Info: Official https://julialang.org/ release Platform Info: OS: Linux (x86_64-linux-gnu) CPU: 8 × Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-15.0.7 (ORCJIT, skylake) Threads: 1 default, 0 interactive, 1 GC (on 8 virtual cores) Environment: JULIA_EDITOR = vim JULIA_PKG_PRESERVE_TIERED_INSTALLED = true (jl_1hRjVB) pkg> st Status `/tmp/jl_1hRjVB/Project.toml` [6e4b80f9] BenchmarkTools v1.5.0 [052768ef] CUDA v5.5.2
The text was updated successfully, but these errors were encountered: