Gromacs
2018
|
Function definitions for non-GPU builds.
Functions | |
void | gpu_set_host_malloc_and_free (bool, gmx_host_alloc_t **nb_alloc, gmx_host_free_t **nb_free) |
Set allocation functions used by the GPU host. More... | |
std::vector< int > | getCompatibleGpus (const gmx_gpu_info_t &) |
This function is documented in the header file. More... | |
const char * | getGpuCompatibilityDescription (const gmx_gpu_info_t &, int) |
Return a string describing how compatible the GPU with given index is. More... | |
std::vector<int> getCompatibleGpus | ( | const gmx_gpu_info_t & | ) |
This function is documented in the header file.
Return a container of the detected GPUs that are compatible.
const char* getGpuCompatibilityDescription | ( | const gmx_gpu_info_t & | gpu_info, |
int | index | ||
) |
Return a string describing how compatible the GPU with given index
is.
[in] | gpu_info | Information about detected GPUs |
[in] | index | index of GPU to ask about |
void gpu_set_host_malloc_and_free | ( | bool | , |
gmx_host_alloc_t ** | nb_alloc, | ||
gmx_host_free_t ** | nb_free | ||
) |
Set allocation functions used by the GPU host.
Set page-locked memory allocation functions used by the GPU host.
Since GPU support is not configured, there is no host memory to allocate.