Base class and operators for managed-memory objects. More...
#include <core/Util.h>#include <core/vector3.h>#include <core/BlasExtra.h>#include <core/GpuUtil.h>Classes | |
| class | ManagedMemoryBase |
| Base class for managed-memory objects (that could potentially live on GPUs as well) with unspecified data type. More... | |
| class | ManagedMemory< T > |
| Base class for managed memory of a specified data type. More... | |
| struct | ManagedArray< T > |
| struct | IndexArray |
| Managed array of integers (indices) More... | |
| struct | IndexVecArray |
| Managed array of integer vectors. More... | |
Functions | |
| template<typename T > | |
| void | memcpy (ManagedMemory< T > &, const ManagedMemory< T > &) |
| copy entire object over | |
| void | scale (double alpha, ManagedMemory< double > &y) |
| void | scale (double alpha, ManagedMemory< complex > &y) |
| scale y *= alpha | |
| void | scale (complex alpha, ManagedMemory< complex > &y) |
| scale y *= alpha | |
| void | scale (const ManagedMemory< complex > &x, ManagedMemory< complex > &y) |
| scale y *= alpha | |
| void | axpy (complex alpha, const ManagedMemory< complex > &x, ManagedMemory< complex > &y) |
| scale y *= x elementwise More... | |
| double | nrm2 (const ManagedMemory< complex > &) |
| 2-norm, pretending it is a vector | |
| complex | dotc (const ManagedMemory< complex > &a, const ManagedMemory< complex > &b) |
| return a^H b | |
Base class and operators for managed-memory objects.