Go to the source code of this file.
|
occa::device & | mfem::OccaDev () |
| Return the default occa::device used by MFEM. More...
|
|
occa::memory | mfem::OccaMemoryWrap (void *ptr, std::size_t bytes) |
| Wrap a pointer as occa::memory with the default occa::device used by MFEM. More...
|
|
template<typename T > |
const occa::memory | mfem::OccaMemoryRead (const Memory< T > &mem, size_t size) |
| Wrap a Memory object as occa::memory for read only access with the mfem::Device MemoryClass. The returned occa::memory is associated with the default occa::device used by MFEM. More...
|
|
template<typename T > |
occa::memory | mfem::OccaMemoryWrite (Memory< T > &mem, size_t size) |
| Wrap a Memory object as occa::memory for write only access with the mfem::Device MemoryClass. The returned occa::memory is associated with the default occa::device used by MFEM. More...
|
|
template<typename T > |
occa::memory | mfem::OccaMemoryReadWrite (Memory< T > &mem, size_t size) |
| Wrap a Memory object as occa::memory for read-write access with the mfem::Device MemoryClass. The returned occa::memory is associated with the default occa::device used by MFEM. More...
|
|
bool | mfem::DeviceCanUseOcca () |
| Function that determines if an OCCA kernel should be used, based on the current mfem::Device configuration. More...
|
|