Go to the source code of this file.
|
template<typename T > |
const T * | mfem::Read (const Memory< T > &mem, int size, bool on_dev=true) |
| Get a pointer for read access to mem with the mfem::Device MemoryClass, if on_dev = true, or MemoryClass::HOST, otherwise. More...
|
|
template<typename T > |
const T * | mfem::HostRead (const Memory< T > &mem, int size) |
| Shortcut to Read(const Memory<T> &mem, int size, false) More...
|
|
template<typename T > |
T * | mfem::Write (Memory< T > &mem, int size, bool on_dev=true) |
| Get a pointer for write access to mem with the mfem::Device MemoryClass, if on_dev = true, or MemoryClass::HOST, otherwise. More...
|
|
template<typename T > |
const T * | mfem::HostWrite (const Memory< T > &mem, int size) |
| Shortcut to Write(const Memory<T> &mem, int size, false) More...
|
|
template<typename T > |
T * | mfem::ReadWrite (Memory< T > &mem, int size, bool on_dev=true) |
| Get a pointer for read+write access to mem with the mfem::Device MemoryClass, if on_dev = true, or MemoryClass::HOST, otherwise. More...
|
|
template<typename T > |
const T * | mfem::HostReadWrite (const Memory< T > &mem, int size) |
| Shortcut to ReadWrite(const Memory<T> &mem, int size, false) More...
|
|