Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
50442b0a
Commit
50442b0a
authored
May 28, 2015
by
peastman
Browse files
Merge pull request #937 from peastman/cufft
Disabled PME stream on CUDA 7
parents
c9fc6ed8
1b1ea94f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
platforms/cuda/src/CudaKernels.cpp
platforms/cuda/src/CudaKernels.cpp
+1
-1
No files found.
platforms/cuda/src/CudaKernels.cpp
View file @
50442b0a
...
...
@@ -1719,7 +1719,7 @@ void CudaCalcNonbondedForceKernel::initialize(const System& system, const Nonbon
int
cufftVersion
;
cufftGetVersion
(
&
cufftVersion
);
usePmeStream
=
(
cu
.
getComputeCapability
()
<
5.0
&&
numParticles
<
130000
&&
cufftVersion
>=
6000
);
// Workarounds for various CUDA bugs
usePmeStream
=
(
cu
.
getComputeCapability
()
<
5.0
&&
numParticles
<
130000
&&
cufftVersion
>=
6000
&&
cufftVersion
!=
7000
);
// Workarounds for various CUDA bugs
if
(
usePmeStream
)
{
cuStreamCreate
(
&
pmeStream
,
CU_STREAM_NON_BLOCKING
);
cufftSetStream
(
fftForward
,
pmeStream
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment