![]() |
MFEM v4.8.0
Finite element discretization library
|
Go to the source code of this file.
Namespaces | |
| namespace | mfem |
Functions | |
| void | mfem::mfem_cuda_error (cudaError_t err, const char *expr, const char *func, const char *file, int line) |
| void * | mfem::CuMemAlloc (void **d_ptr, size_t bytes) |
| Allocates device memory and returns destination ptr. | |
| void * | mfem::CuMallocManaged (void **d_ptr, size_t bytes) |
| Allocates managed device memory. | |
| void * | mfem::CuMemAllocHostPinned (void **ptr, size_t bytes) |
| Allocates page-locked (pinned) host memory. | |
| void * | mfem::CuMemFree (void *d_ptr) |
| Frees device memory and returns destination ptr. | |
| void * | mfem::CuMemFreeHostPinned (void *ptr) |
| Frees page-locked (pinned) host memory and returns destination ptr. | |
| void * | mfem::CuMemcpyHtoD (void *d_dst, const void *h_src, size_t bytes) |
| Copies memory from Host to Device and returns destination ptr. | |
| void * | mfem::CuMemcpyHtoDAsync (void *d_dst, const void *h_src, size_t bytes) |
| Copies memory from Host to Device and returns destination ptr. | |
| void * | mfem::CuMemcpyDtoD (void *d_dst, const void *d_src, size_t bytes) |
| Copies memory from Device to Device. | |
| void * | mfem::CuMemcpyDtoDAsync (void *d_dst, const void *d_src, size_t bytes) |
| Copies memory from Device to Device. | |
| void * | mfem::CuMemcpyDtoH (void *h_dst, const void *d_src, size_t bytes) |
| Copies memory from Device to Host. | |
| void * | mfem::CuMemcpyDtoHAsync (void *h_dst, const void *d_src, size_t bytes) |
| Copies memory from Device to Host. | |
| void | mfem::CuCheckLastError () |
| Check the error code returned by cudaGetLastError(), aborting on error. | |
| int | mfem::CuGetDeviceCount () |
| Get the number of CUDA devices. | |