MFEM
v4.5.1
Finite element discretization library
|
Go to the source code of this file.
Namespaces | |
mfem | |
Functions | |
void | mfem::mfem_hip_error (hipError_t err, const char *expr, const char *func, const char *file, int line) |
void * | mfem::HipMemAlloc (void **d_ptr, size_t bytes) |
Allocates device memory. More... | |
void * | mfem::HipMallocManaged (void **d_ptr, size_t bytes) |
Allocates managed device memory. More... | |
void * | mfem::HipMemAllocHostPinned (void **ptr, size_t bytes) |
Allocates page-locked (pinned) host memory. More... | |
void * | mfem::HipMemFree (void *d_ptr) |
Frees device memory. More... | |
void * | mfem::HipMemFreeHostPinned (void *ptr) |
Frees page-locked (pinned) host memory and returns destination ptr. More... | |
void * | mfem::HipMemcpyHtoD (void *d_dst, const void *h_src, size_t bytes) |
Copies memory from Host to Device. More... | |
void * | mfem::HipMemcpyHtoDAsync (void *d_dst, const void *h_src, size_t bytes) |
Copies memory from Host to Device. More... | |
void * | mfem::HipMemcpyDtoD (void *d_dst, const void *d_src, size_t bytes) |
Copies memory from Device to Device. More... | |
void * | mfem::HipMemcpyDtoDAsync (void *d_dst, const void *d_src, size_t bytes) |
Copies memory from Device to Device. More... | |
void * | mfem::HipMemcpyDtoH (void *h_dst, const void *d_src, size_t bytes) |
Copies memory from Device to Host. More... | |
void * | mfem::HipMemcpyDtoHAsync (void *h_dst, const void *d_src, size_t bytes) |
Copies memory from Device to Host. More... | |
void | mfem::HipCheckLastError () |
Check the error code returned by hipGetLastError(), aborting on error. More... | |
int | mfem::HipGetDeviceCount () |
Get the number of HIP devices. More... | |