Remove now usused GPU alloc/free functions
[alexxy/gromacs.git] / src / gromacs / gpu_utils / gpu_utils.cpp
index 7105b498c2ec16ef74aaf77eddcb0ff938ee925d..81778c01117dab175d108695b609017c04d32b09 100644 (file)
 #include "gromacs/utility/stringutil.h"
 
 #if !GMX_GPU
-/*! \brief Set allocation functions used by the GPU host
- *
- * Since GPU support is not configured, there is no host memory to
- * allocate. */
-void gpu_set_host_malloc_and_free(bool /*unused*/,
-                                  gmx_host_alloc_t **nb_alloc,
-                                  gmx_host_free_t  **nb_free)
-{
-    *nb_alloc = nullptr;
-    *nb_free  = nullptr;
-}
-
 int gpu_info_get_stat(const gmx_gpu_info_t & /*unused*/, int /*unused*/)
 {
     return egpuNonexistent;