From: Jeff Hammond (jeff.science_at_[hidden])
Date: 2020-09-30 21:58:02
I recommend https://www.open-mpi.org/projects/hwloc/ as a widely portable
library for querying L1D size and many other architectural properties.
Clearly, this isn't in the Boost family, nor is it even C++, but it seems
imprudent to try reimplement hwloc in Boost.
On Wed, Sep 30, 2020 at 2:30 PM Matt Borland via Boost <
> A recurring discussion in Boost.Math has been needing a cross-platform way
> to query the L1D cache size of a machine. I have most of a solution in a
> [personal repo](https://github.com/mborland/cache). It did not make sense
> to us to have this in Boost.Math because it would be useful outside of that
> scope, but we did not know where it should go. Is there an existing library
> where this would fit? If necessary I can roll it into a library submission
> that exposes the functionality of CPUID.
> Unsubscribe & other changes:
-- Jeff Hammond jeff.science_at_[hidden] http://jeffhammond.github.io/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk