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
0dd63d02
Commit
0dd63d02
authored
Mar 28, 2011
by
Peter Eastman
Browse files
Thread block sizes were initialized incorrectly
parent
8d3d9af0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
platforms/cuda/src/kernels/gpu.cpp
platforms/cuda/src/kernels/gpu.cpp
+2
-2
No files found.
platforms/cuda/src/kernels/gpu.cpp
View file @
0dd63d02
...
@@ -1797,7 +1797,7 @@ void* gpuInit(int numAtoms, unsigned int device, bool useBlockingSync)
...
@@ -1797,7 +1797,7 @@ void* gpuInit(int numAtoms, unsigned int device, bool useBlockingSync)
gpu
->
sim
.
max_shake_threads_per_block
=
GT2XX_SHAKE_THREADS_PER_BLOCK
;
gpu
->
sim
.
max_shake_threads_per_block
=
GT2XX_SHAKE_THREADS_PER_BLOCK
;
gpu
->
sim
.
max_update_threads_per_block
=
GT2XX_UPDATE_THREADS_PER_BLOCK
;
gpu
->
sim
.
max_update_threads_per_block
=
GT2XX_UPDATE_THREADS_PER_BLOCK
;
gpu
->
sim
.
max_localForces_threads_per_block
=
GT2XX_LOCALFORCES_THREADS_PER_BLOCK
;
gpu
->
sim
.
max_localForces_threads_per_block
=
GT2XX_LOCALFORCES_THREADS_PER_BLOCK
;
gpu
->
sim
.
threads_per_block
=
GT2XX_
NONBOND_
THREADS_PER_BLOCK
;
gpu
->
sim
.
threads_per_block
=
GT2XX_THREADS_PER_BLOCK
;
gpu
->
sim
.
random_threads_per_block
=
GT2XX_RANDOM_THREADS_PER_BLOCK
;
gpu
->
sim
.
random_threads_per_block
=
GT2XX_RANDOM_THREADS_PER_BLOCK
;
gpu
->
blocksPerSM
=
GT2XX_BLOCKS_PER_SM
;
gpu
->
blocksPerSM
=
GT2XX_BLOCKS_PER_SM
;
}
}
...
@@ -1808,7 +1808,7 @@ void* gpuInit(int numAtoms, unsigned int device, bool useBlockingSync)
...
@@ -1808,7 +1808,7 @@ void* gpuInit(int numAtoms, unsigned int device, bool useBlockingSync)
gpu
->
sim
.
max_shake_threads_per_block
=
GF1XX_SHAKE_THREADS_PER_BLOCK
;
gpu
->
sim
.
max_shake_threads_per_block
=
GF1XX_SHAKE_THREADS_PER_BLOCK
;
gpu
->
sim
.
max_update_threads_per_block
=
GF1XX_UPDATE_THREADS_PER_BLOCK
;
gpu
->
sim
.
max_update_threads_per_block
=
GF1XX_UPDATE_THREADS_PER_BLOCK
;
gpu
->
sim
.
max_localForces_threads_per_block
=
GF1XX_LOCALFORCES_THREADS_PER_BLOCK
;
gpu
->
sim
.
max_localForces_threads_per_block
=
GF1XX_LOCALFORCES_THREADS_PER_BLOCK
;
gpu
->
sim
.
threads_per_block
=
GF1XX_
NONBOND_
THREADS_PER_BLOCK
;
gpu
->
sim
.
threads_per_block
=
GF1XX_THREADS_PER_BLOCK
;
gpu
->
sim
.
random_threads_per_block
=
GF1XX_RANDOM_THREADS_PER_BLOCK
;
gpu
->
sim
.
random_threads_per_block
=
GF1XX_RANDOM_THREADS_PER_BLOCK
;
gpu
->
blocksPerSM
=
GF1XX_BLOCKS_PER_SM
;
gpu
->
blocksPerSM
=
GF1XX_BLOCKS_PER_SM
;
}
}
...
...
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