JuliaLang/LinearAlgebra.jl

An API for Cache Size(s)

Offen

#108 geöffnet am 26.04.2014

 (13 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Julia (62 Forks)github user discovery
help wanted

Repository-Metriken

Stars
 (77 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 8T 17h) (5 gemergte PRs in 30 T)

Beschreibung

From JuliaLang/julia#6517 - Currently the cache size information is independently hardwired in several methods throughout Julia Base, e.g. in Base.transpose! and in Base.LinAlg.generic_matmatmul, and now also in my implementation of permutedims! (actually in the auxiliary function blockdims). It would probably make sense to centralise this information and maybe even to try to get it from the system (or to set it at build time) instead of fixing it at 32k. - @Jutho

There isn't a new issue to discuss this, but there probably should be. L1 and L2 cache sizes would be nice to have available, but it may require some effort to get this right across OSes and processor types. - @ViralBShah

Contributor Guide