Kristoffer Carlsson
Kristoffer Carlsson
Add a test for https://github.com/JuliaLang/julia/issues/34680. This should (hopefully) fail on Windows and pass when https://github.com/JuliaLang/julia/pull/34754 is merged.
This code shows `var` being unused and color-highlighted in gray. ```jl function f(var) rand() > 0.5 && (var = 1) return var end ``` It is however used.
Moved from https://github.com/JuliaLang/julia/issues/20539 `conv( randn(5), randn(0) )`, say should be, i'd think, should be a vector of length 0 right now it's an error `conv(randn(0), randn(0))` is trickier, but a...
Moved from https://github.com/JuliaLang/julia/issues/13996 (more discussion there) It seems that `conv` is slower than necessary. By implementing a naive convolution, I am able to outperform `conv` for moderate vector sizes. On...
Moved from https://github.com/JuliaLang/julia/issues/16126 At this moment `conv` convolves only two vectors, `conv(u,v)`. If you have a list of vectors `lst` that you want to convolve, you can do it like...
Moved from https://github.com/JuliaLang/julia/issues/12398 ------------------- As shown by @simonster (https://github.com/simonster/StructsOfArrays.jl), Structure of Array is much easier to vectorize. Using `StructOfArrays(Complex64)` and `@simd` I can see a speed up of `>2x`. However,...
Running the conv network for MNIST in the model-zoo the following profile is obtained:  The time in the mapreduce kernel (https://github.com/JuliaGPU/CuArrays.jl/blob/a3d2650db3eb62f25dcbe18a64ea0a0036caced4/src/mapreduce.jl#L27-L54) is probably a bit big. This seems to...
When running PkgEval on Julia 1.6 this package came up as hainvg a GC corruption: https://github.com/JuliaCI/NanosoldierReports/blob/303a819e120eac6b87b3c74c18c024ae0359e457/pkgeval/by_hash/3573793_vs_c4acbf9/logs/Sundials/1.6.0-DEV-4978cd5a4f.log#L333-L348.
I wanted to try out some of the Python examples but on a mac but upon trying to install via pip I get: ``` build/temp.macosx-11-x86_64-3.9/_notcurses.c:570:14: fatal error: 'notcurses/direct.h' file not...
Today I spent ~4 hours wondering why my exports looked like: (note the weird looking thing in the second row). Turns out that I wrote ```jl vtk_point_data(vtk, u, "u") ```...