biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6aeb9d1
)
fixed recent bug with CUDA texture objects
author
Berk Hess
<hess@kth.se>
Tue, 22 Oct 2013 20:01:32 +0000
(22:01 +0200)
committer
Berk Hess
<hess@kth.se>
Tue, 22 Oct 2013 20:01:32 +0000
(22:01 +0200)
On GPUs with CUDA architecture 3.0, mdrun would exit with an error.
This bug was introduced very recently in
43b41cb8
Fixes #1361
Change-Id: I0c46867b987cbf3c0da3aa9384d985fef1e4aa73
src/mdlib/nbnxn_cuda/nbnxn_cuda.cu
patch
|
blob
|
history
diff --git
a/src/mdlib/nbnxn_cuda/nbnxn_cuda.cu
b/src/mdlib/nbnxn_cuda/nbnxn_cuda.cu
index e65c6ed603460b66dd1f77911e1104a5bc0690a5..f82fd3a9905b31a4ab91f1b72c3dfff404420794 100644
(file)
--- a/
src/mdlib/nbnxn_cuda/nbnxn_cuda.cu
+++ b/
src/mdlib/nbnxn_cuda/nbnxn_cuda.cu
@@
-61,7
+61,7
@@
#include "nbnxn_cuda.h"
#include "nbnxn_cuda_data_mgmt.h"
-#if defined TEXOBJ_SUPPORTED && __CUDA_ARCH__ > 300
+#if defined TEXOBJ_SUPPORTED && __CUDA_ARCH__ >
=
300
#define USE_TEXOBJ
#endif