Displaying 2 results from an estimated 2 matches for "targetsoftwareprefetcherinfo".
2018 Nov 01
3
RFC: System (cache, etc.) model for LLVM
...ite buffers
>
> Do you mean for caches, or something else?
https://en.wikipedia.org/wiki/Cache_%28computing%29#Writing_policies
Basically, with write-though, every store is a non-temporal store (Or
temporal stores being a write-through, depending on how to view it)
> >> class TargetSoftwarePrefetcherInfo {
> >> /// Should we do software prefetching at all?
> >> ///
> >> bool isEnabled() const;
> >
> > isEnabled sounds like something configurable at runtime.
>
> Currently we use it to allow some subtargets to do software prefetching
> and p...
2018 Nov 01
2
RFC: System (cache, etc.) model for LLVM
...at lists.llvm.org>:
> class TargetCacheLevelInfo {
> /// getWays - Return the number of ways.
> ///
> unsigned getWays() const;
That is, associativity?
Bandwidth might be a useful addition, e.g. if a performance analysis
tools uses the roofline model.
> class TargetSoftwarePrefetcherInfo {
> /// Should we do software prefetching at all?
> ///
> bool isEnabled() const;
isEnabled sounds like something configurable at runtime.
> /// Provide a general prefetch distance hint.
> ///
> unsigned getDistance() const;
>
> /// Prefetch at...