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
0e821614
"platforms/cpu/src/CpuCustomNonbondedForceFvec.cpp" did not exist on "40a7363d82f451fe38b6b393379305a5a1786135"
Commit
0e821614
authored
Nov 11, 2018
by
Peter Eastman
Browse files
Fixed potential uninitialized memory error setting up PME stream
parent
689e2bc9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
platforms/cuda/src/CudaKernels.cpp
platforms/cuda/src/CudaKernels.cpp
+4
-2
No files found.
platforms/cuda/src/CudaKernels.cpp
View file @
0e821614
...
...
@@ -1859,8 +1859,10 @@ void CudaCalcNonbondedForceKernel::initialize(const System& system, const Nonbon
if (useCudaFFT) {
cufftSetStream(fftForward, pmeStream);
cufftSetStream(fftBackward, pmeStream);
cufftSetStream
(
dispersionFftForward
,
pmeStream
);
cufftSetStream
(
dispersionFftBackward
,
pmeStream
);
if (doLJPME) {
cufftSetStream(dispersionFftForward, pmeStream);
cufftSetStream(dispersionFftBackward, pmeStream);
}
}
CHECK_RESULT(cuEventCreate(&pmeSyncEvent, CU_EVENT_DISABLE_TIMING), "Error creating event for NonbondedForce");
CHECK_RESULT(cuEventCreate(¶msSyncEvent, CU_EVENT_DISABLE_TIMING), "Error creating event for NonbondedForce");
...
...
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