DeviceBuffer headers are added
[alexxy/gromacs.git] / src / gromacs / gpu_utils / gpu_utils.cu
index 7660d7cc249315dd5b2571a89c01ab862ae106c0..c5e367884dca489e5aa38b9d4ec1412d2e38e625 100644 (file)
@@ -137,7 +137,7 @@ static void checkCompiledTargetCompatibility(const gmx_device_info_t *devInfo)
     }
 }
 
-bool isHostMemoryPinned(void *h_ptr)
+bool isHostMemoryPinned(const void *h_ptr)
 {
     cudaPointerAttributes memoryAttributes;
     cudaError_t           stat = cudaPointerGetAttributes(&memoryAttributes, h_ptr);