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
b2c28984
Commit
b2c28984
authored
Feb 01, 2011
by
Peter Eastman
Browse files
Fixed bug on AMD processors
parent
6f4944e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
platforms/opencl/src/OpenCLKernels.cpp
platforms/opencl/src/OpenCLKernels.cpp
+1
-1
No files found.
platforms/opencl/src/OpenCLKernels.cpp
View file @
b2c28984
...
...
@@ -2017,7 +2017,7 @@ void OpenCLCalcCustomGBForceKernel::initialize(const System& system, const Custo
else
if
(
cl
.
getSIMDWidth
()
==
32
)
file
=
OpenCLKernelSources
::
customGBValueN2_nvidia
;
else
OpenCLKernelSources
::
customGBValueN2_default
;
file
=
OpenCLKernelSources
::
customGBValueN2_default
;
cl
::
Program
program
=
cl
.
createProgram
(
cl
.
replaceStrings
(
file
,
replacements
),
defines
);
pairValueKernel
=
cl
::
Kernel
(
program
,
"computeN2Value"
);
}
...
...
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