#include "msmpot_internal.h"
Go to the source code of this file.
Defines | |
#define | NELEMS(a) ((int)(sizeof(a)/sizeof(a[0]))) |
Functions | |
const char * | Msmpot_error_string (int retcode) |
Msmpot * | Msmpot_create (void) |
Constructor. More... | |
void | Msmpot_destroy (Msmpot *msm) |
Destructor. More... | |
int | Msmpot_use_cuda (Msmpot *msm, const int *devlist, int listlen, int cuda_optional) |
Variables | |
const char * | ERROR_STRING [] |
|
Definition at line 21 of file msmpot.c. Referenced by Msmpot_error_string. |
|
Constructor.
Definition at line 69 of file msmpot.c. References Msmpot_cuda_create, Msmpot_destroy, Msmpot_set_defaults, and NULL. Referenced by VolMapCreateCoulombPotentialMSM::compute_frame. |
|
Destructor.
Definition at line 84 of file msmpot.c. References Msmpot_cleanup, and Msmpot_cuda_destroy. |
|
Definition at line 41 of file msmpot.c. References ERROR_STRING, and NELEMS. |
|
Definition at line 93 of file msmpot.c. References ERRMSG, ERROR, MSMPOT_ERROR_PARAM, MSMPOT_ERROR_SUPPORT, MSMPOT_SUCCESS, and NULL. |
|
Initial value: { "success", "assertion failed", "memory allocation error", "illegal parameter", "unsupported request", "CUDA device request failed", "CUDA memory allocation error", "CUDA memory copy error", "CUDA kernel execution failed", "CUDA kernel does not support request", "unknown error", } Definition at line 26 of file msmpot.c. Referenced by Msmpot_error_string. |