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
Simplified uniform GPU selection in CMake
[alexxy/gromacs.git]
/
src
/
gromacs
/
gpu_utils
/
tests
/
hostallocator.cpp
diff --git
a/src/gromacs/gpu_utils/tests/hostallocator.cpp
b/src/gromacs/gpu_utils/tests/hostallocator.cpp
index 41d38eb4173666bfd677902da383e4543de0e07b..baf475a1568a948b6e21c623c8a140e1003b484a 100644
(file)
--- a/
src/gromacs/gpu_utils/tests/hostallocator.cpp
+++ b/
src/gromacs/gpu_utils/tests/hostallocator.cpp
@@
-286,7
+286,7
@@
TYPED_TEST(HostAllocatorTestNoMem, Comparison)
EXPECT_NE(AllocatorType{}, AllocatorType{ PinningPolicy::PinnedIfSupported });
}
-#if GMX_GPU
== GMX_GPU
_CUDA
+#if GMX_GPU_CUDA
// Policy suitable for pinning is only supported for a CUDA build