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
/
nbnxm
/
gpu_types_common.h
diff --git
a/src/gromacs/nbnxm/gpu_types_common.h
b/src/gromacs/nbnxm/gpu_types_common.h
index 17b66e49d8243df0609f06577997b280526035e8..9166a3e50a2497cfedbbee4c4a09ef4de12034e5 100644
(file)
--- a/
src/gromacs/nbnxm/gpu_types_common.h
+++ b/
src/gromacs/nbnxm/gpu_types_common.h
@@
-49,11
+49,11
@@
#include "pairlist.h"
-#if GMX_GPU
== GMX_GPU
_OPENCL
+#if GMX_GPU_OPENCL
# include "gromacs/gpu_utils/gpuregiontimer_ocl.h"
#endif
-#if GMX_GPU
== GMX_GPU
_CUDA
+#if GMX_GPU_CUDA
# include "gromacs/gpu_utils/gpuregiontimer.cuh"
#endif