```Julia
Pkg.add("Hwloc")
using Hwloc
topo = load_topology()
print(topo)
```

I just see that Hwloc has problems with Julia 0.5; I'll tag a new release.

-erik


On Tue, Aug 16, 2016 at 5:12 AM, Oliver Schulz <[email protected]
> wrote:

> Hi,
>
> is there a (cross-platform) way to get the CPU L1 cache size from Julia?
> I'd like to determine the optimal block size(s) for an array algorithm.
>
>
> Cheers,
>
> Oliver
>
>


-- 
Erik Schnetter <[email protected]>
http://www.perimeterinstitute.ca/personal/eschnetter/

Reply via email to