27#ifndef EWOMS_PREFETCH_HH
28#define EWOMS_PREFETCH_HH
37template <
int temporalLocality = 3,
int writeOnly = 0,
class T =
void>
40#if __clang__ || __GNUC__
45 const char *
beginPtr =
reinterpret_cast<const char*
>(&
val);
46 const char *
endPtr =
reinterpret_cast<const char*
>(&
val +
n);
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition blackoilboundaryratevector.hh:37
void prefetch(const T &val, unsigned n=1)
Template function which emits prefetch instructions for a range of memory.
Definition prefetch.hh:38
constexpr auto getPropValue()
get the value data member of a property
Definition propertysystem.hh:242