|
QDP++
|
Functions | |
| template<typename T> | |
| void | moveToFastMemoryHint (T &x, bool copy=false) |
| Hint to move a generic object of type T to fast memory. | |
| template<typename T> | |
| void | revertFromFastMemoryHint (T &x, bool copy=false) |
| Hint to return a generic object of type T from fast memory. | |
|
inline |
Hint to move a generic object of type T to fast memory.
This is a catch all function for objects that do not support memory management hints. It does nothing and had better be inlined or it can be detremental to my health
| x | The object for which the hint is meant |
| copy | Whether to copy the object's slow memory contents to its new fast memory home. Default is no. |
Definition at line 47 of file qdp_allocator.h.
|
inline |
Hint to return a generic object of type T from fast memory.
This is a catch all function for objects that do not support memory management hints. It does nothing and had better be inlined or it can be detremental to my health
| x | The object for which the hint is meant |
| copy | Whether to copy the object's fast memory contents to back to its slow memory home. Default is no. |
Definition at line 63 of file qdp_allocator.h.