Displaying 3 results from an estimated 3 matches for "getnumloadbuff".
2018 Nov 09
2
RFC: System (cache, etc.) model for LLVM
...f abstracting the hardware resource for the compiler's
> needs, though I think we will in general want multiple such things.
> Maybe one for load and one for store to start? For more harware-y
> things like llvm-mca more detail may be desired.
Your RFC already has getNumStoreBuffers, getNumLoadBuffers and
getNumLoadStoreBuffers, no? As far I understand, write-combining only
applies to getNumStoreBuffers(). Prefetch streams would limit
getNumLoadBuffers.
Michael
2018 Nov 07
3
RFC: System (cache, etc.) model for LLVM
Am Mo., 5. Nov. 2018 um 10:26 Uhr schrieb David Greene <dag at cray.com>:
> Yes, I agree the terminology is confusing. I used the term "stream" in
> the sense of stream processing (https://en.wikipedia.org/wiki/Stream_processing).
> The programming model is very different, of course, but the idea of a
> stream of data that is acted upon and then essentially discarded
2018 Nov 01
2
RFC: System (cache, etc.) model for LLVM
...distances to this interface.
Would it make sense to specify a prefetch distance in bytes instead of
cache lines? The cache line might not be known at compile-time (e.g.
ARM big.LITTLE), but it might still make sense to do software
prefetching.
> class TargetStreamBufferInfo {
> /// getNumLoadBuffers - Return the number of load buffers available.
> /// This is the number of simultaneously active independent load
> /// streams the processor can handle before degrading performance.
> ///
> int getNumLoadBuffers() const;
>
> /// getMaxNumLoadBuffers - Retur...