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
5ed1d277
Commit
5ed1d277
authored
Sep 23, 2011
by
Peter Eastman
Browse files
Optimized number of work groups
parent
82f9a867
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
platforms/opencl/src/OpenCLNonbondedUtilities.cpp
platforms/opencl/src/OpenCLNonbondedUtilities.cpp
+1
-1
No files found.
platforms/opencl/src/OpenCLNonbondedUtilities.cpp
View file @
5ed1d277
...
@@ -49,7 +49,7 @@ OpenCLNonbondedUtilities::OpenCLNonbondedUtilities(OpenCLContext& context) : con
...
@@ -49,7 +49,7 @@ OpenCLNonbondedUtilities::OpenCLNonbondedUtilities(OpenCLContext& context) : con
}
}
else
if
(
context
.
getSIMDWidth
()
==
32
)
{
else
if
(
context
.
getSIMDWidth
()
==
32
)
{
if
(
context
.
getSupports64BitGlobalAtomics
())
{
if
(
context
.
getSupports64BitGlobalAtomics
())
{
numForceThreadBlocks
=
4
*
context
.
getDevice
().
getInfo
<
CL_DEVICE_MAX_COMPUTE_UNITS
>
();
numForceThreadBlocks
=
2
*
context
.
getDevice
().
getInfo
<
CL_DEVICE_MAX_COMPUTE_UNITS
>
();
forceThreadBlockSize
=
256
;
forceThreadBlockSize
=
256
;
numForceBuffers
=
2
;
numForceBuffers
=
2
;
}
}
...
...
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