QDP++
qdp_allocator.h File Reference

Catch-alls for all memory allocators. More...

#include "qdp_config.h"
#include "qdp_singleton.h"
#include "qdp_default_allocator.h"

Go to the source code of this file.

Namespaces

namespace  QDP
 Yet another random number generator.
namespace  QDP::Allocator
namespace  QDP::Hints

Typedefs

using QDP::Allocator::theQDPAllocator

Enumerations

enum  QDP::Allocator::MemoryPoolHint { QDP::Allocator::DEFAULT , QDP::Allocator::FAST }

Functions

template<typename T>
void QDP::Hints::moveToFastMemoryHint (T &x, bool copy=false)
 Hint to move a generic object of type T to fast memory.
template<typename T>
void QDP::Hints::revertFromFastMemoryHint (T &x, bool copy=false)
 Hint to return a generic object of type T from fast memory.

Detailed Description

Catch-alls for all memory allocators.

Definition in file qdp_allocator.h.