biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
DeviceBuffer headers are added
[alexxy/gromacs.git]
/
src
/
gromacs
/
gpu_utils
/
gpu_utils.cu
diff --git
a/src/gromacs/gpu_utils/gpu_utils.cu
b/src/gromacs/gpu_utils/gpu_utils.cu
index 7660d7cc249315dd5b2571a89c01ab862ae106c0..c5e367884dca489e5aa38b9d4ec1412d2e38e625 100644
(file)
--- a/
src/gromacs/gpu_utils/gpu_utils.cu
+++ b/
src/gromacs/gpu_utils/gpu_utils.cu
@@
-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);