DeviceBuffer headers are added
[alexxy/gromacs.git] / src / gromacs / gpu_utils / gpu_utils.h
index 9634c380343e97ea0b0531dbcdf9c70627f78bb0..35921e84465d9eb13f45da387b6fe26eaa6927d9 100644 (file)
@@ -271,6 +271,6 @@ void stopGpuProfiler(void) CUDA_FUNC_TERM
 
 //! Tells whether the host buffer was pinned for non-blocking transfers. Only implemented for CUDA.
 CUDA_FUNC_QUALIFIER
-bool isHostMemoryPinned(void *CUDA_FUNC_ARGUMENT(h_ptr)) CUDA_FUNC_TERM_WITH_RETURN(false)
+bool isHostMemoryPinned(const void *CUDA_FUNC_ARGUMENT(h_ptr)) CUDA_FUNC_TERM_WITH_RETURN(false)
 
 #endif