Add prefetch to core
Open
- Dominant language
- C++
- Stars
- 156
- Forks
- 116
- PR merge metrics
- No merged PRs in 30d
Description
We are currently implementing a new algorithm in Boost.Histogram which is supposed to profit from cacheline prefetching. The prefetch instruction is a builtin, so we need code to get a platform-independent Boost command. I discovered that Boost.Context already has such an implementation in its details.
https://www.boost.org/doc/libs/1_81_0/boost/context/detail/prefetch.hpp
I propose to move this code to Core, so that all libraries can profit from prefetching. Currently, context and fiber use this code, and it is currently added to Boost.Histogram.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.