ALP User Documentation 0.7.0
Algebraic Programming User Documentation
Static Public Member Functions | List of all members
PREFETCHING< backend > Class Template Reference

Default prefetching settings for reference and reference_omp backends. More...

#include <config.hpp>

Static Public Member Functions

static constexpr size_t distance ()
 The prefetch distance used during level-2 and level-3 operations. More...
 
static constexpr bool enabled ()
 Whether prefetching is enabled.
 

Detailed Description

template<Backend backend>
class grb::config::PREFETCHING< backend >

Default prefetching settings for reference and reference_omp backends.

Note
By default, prefetching is turned OFF as we found no setting that will never result in a performance degradation across the dataset, workloads, and architectures in our standard test set.
The defaults may be overridden by specialisation, which additionally makes it possible to choose different distances for different backends.

Prefetching presently only is implemented and evaluated for the SpMV and the SpMSpV multiplication kernels. Furthermore, it is only implemented for the gathering variant of either kernel. If you wish further support or evaluation, please feel free to create an issue or to contribute a merge request.

Member Function Documentation

◆ distance()

static constexpr size_t distance ( )
inlinestaticconstexpr

The prefetch distance used during level-2 and level-3 operations.

This value will be ignored if enabled() returns false.


The documentation for this class was generated from the following file: