-
Notifications
You must be signed in to change notification settings - Fork 66
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
LV keeps crushing during benchmarking #447
Comments
Julia Version 1.8.2
Commit 36034abf26 (2022-09-29 15:21 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: 64 × Intel(R) Xeon(R) Gold 5218 CPU @ 2.30GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-13.0.1 (ORCJIT, cascadelake)
Threads: 32 on 64 virtual cores
Environment:
JULIA_NUM_THREADS = 32 |
That is, a normally contiguous dimension should either be known to be of size 1 at compile time, or of full size. It is possible to make this efficient, but I've never had the time. |
Thank you for the quick reply! Surprisingly, it gives correct result and won't crush, as long as it is not being benchmarked. And it could be benchmarked without any issues in my MBP... |
I'd have to take a closer look. julia> @benchmark fast_inverse(@view($result[:,:]), $A_inv, $b, $c)
BenchmarkTools.Trial: 10000 samples with 1 evaluation.
Range (min … max): 9.902 μs … 39.703 μs ┊ GC (min … max): 0.00% … 0.00%
Time (median): 13.838 μs ┊ GC (median): 0.00%
Time (mean ± σ): 14.702 μs ± 3.534 μs ┊ GC (mean ± σ): 0.00% ± 0.00%
▂▃ ▂ ▅▆▆▇█▄▄▃▁▁ ▁ ▅ ▁▂ ▂
██████▇█▇▇██████████▇▇▄▄▅▇█▇▆▁▃▆▄▅▄▁▄▁▄▇▆▅▄▃█▇▆▆▃▇▄▄▃█▆▃███ █
9.9 μs Histogram: log(frequency) by time 26.5 μs <
Memory estimate: 1.75 KiB, allocs estimate: 2.
julia> versioninfo()
Julia Version 1.9.0-DEV.1805
Commit 050f21edc4 (2022-11-10 22:44 UTC)
Platform Info:
OS: Linux (x86_64-redhat-linux)
CPU: 28 × Intel(R) Core(TM) i9-9940X CPU @ 3.30GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-14.0.6 (ORCJIT, skylake-avx512)
Threads: 28 on 28 virtual cores Can you try commenting out the |
Stop crushing after changing |
The following script runs well, however, when benchmarking using BenchmarkTools, it just keeps crushing:
I also attach the screenshot in case it is useful to you. Let me know if you need anything else. Thanks!
The text was updated successfully, but these errors were encountered: