AGXDynamics  2.31.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Prefetch.h File Reference
#include <agx/config/AGX_USE_PREFETCHING.h>
#include <agx/config/AGX_USE_SSE.h>
#include <agx/config.h>
#include <agx/macros.h>
#include <cstddef>
#include <xmmintrin.h>

Go to the source code of this file.

Namespaces

 agx
 Namespace agx contains the dynamics/math part of the AGX Dynamics API.
 

Enumerations

enum  agx::PrefetchType { agx::L1 = _MM_HINT_T0, agx::L2 = _MM_HINT_T1, agx::L3 = _MM_HINT_T2, agx::NTA = _MM_HINT_NTA }
 

Functions

template<int hint, typename T >
void agx::prefetch (const T *ptr)
 
template<int hint, typename T >
void agx::prefetch_128 (const T *ptr)
 
template<int hint, typename T >
void agx::prefetch_256 (const T *ptr)
 
template<int hint, typename T >
void agx::prefetch_64 (const T *ptr)
 
template<PrefetchType PrefetchT>
void agx::prefetchBytes (const void *buffer, size_t numBytes)
 
template<typename T >
void agx::prefetchL3 (const T *buffer, size_t numElements)
 
template<typename T >
void agx::prefetchNTA (const T *buffer, size_t numElements)
 

Variables

const size_t agx::PREFETCH_SIZE = 64