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
551eb600
"wrappers/python/vscode:/vscode.git/clone" did not exist on "751518909fc916128ef5b74b89f2a6418ddfc041"
Commit
551eb600
authored
Mar 04, 2011
by
Peter Eastman
Browse files
Fixed bug in shared memory indexing for CustomNonbondedForce
parent
1ef16124
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
platforms/cuda/src/kernels/kCalculateCustomNonbondedForces.h
platforms/cuda/src/kernels/kCalculateCustomNonbondedForces.h
+1
-1
No files found.
platforms/cuda/src/kernels/kCalculateCustomNonbondedForces.h
View file @
551eb600
...
...
@@ -42,7 +42,7 @@ __global__ void METHOD_NAME(kCalculateCustomNonbonded, Forces_kernel)(unsigned i
unsigned
int
end
=
(
warp
+
1
)
*
numWorkUnits
/
totalWarps
;
float
totalEnergy
=
0
.
0
f
;
#ifdef USE_CUTOFF
float3
*
tempBuffer
=
(
float3
*
)
&
sA
[
cSim
.
nonbond_threads_per_block
];
float3
*
tempBuffer
=
(
float3
*
)
&
variables
[
9
*
blockDim
.
x
];
#endif
unsigned
int
lasty
=
0xFFFFFFFF
;
...
...
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