libsimdpp  0.9.3
Operations: prefetch

Functions

void simdpp::prefetch_read (const void *ptr)
 Prefetches data to the lowest level cache for reading. More...
 
void simdpp::prefetch_write (const void *ptr)
 Prefetches data to the lowest level cache for writing. More...
 

Detailed Description

Function Documentation

void simdpp::prefetch_read ( const void *  ptr)
inline

Prefetches data to the lowest level cache for reading.

Currently supported instruction sets:

SSE2-AVX2 NEON (GCC)

If the current architecture is not supported, the function does not have any effects.

Parameters
ptrpointer to the data to prefetch
void simdpp::prefetch_write ( const void *  ptr)
inline

Prefetches data to the lowest level cache for writing.

Currently supported instruction sets:

SSE2-AVX2 NEON (GCC)

If the current architecture is not supported, the function does not have any effects.

Parameters
ptrpointer to the data to prefetch