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
c12bac04
Commit
c12bac04
authored
Mar 22, 2011
by
Peter Eastman
Browse files
Removed debugging code that accidentally got left in
parent
017e60c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
platforms/opencl/src/OpenCLContext.cpp
platforms/opencl/src/OpenCLContext.cpp
+0
-1
No files found.
platforms/opencl/src/OpenCLContext.cpp
View file @
c12bac04
...
@@ -260,7 +260,6 @@ cl::Program OpenCLContext::createProgram(const string source, const map<string,
...
@@ -260,7 +260,6 @@ cl::Program OpenCLContext::createProgram(const string source, const map<string,
for
(
map
<
string
,
string
>::
const_iterator
iter
=
defines
.
begin
();
iter
!=
defines
.
end
();
++
iter
)
for
(
map
<
string
,
string
>::
const_iterator
iter
=
defines
.
begin
();
iter
!=
defines
.
end
();
++
iter
)
options
<<
" -D"
<<
iter
->
first
<<
"="
<<
iter
->
second
;
options
<<
" -D"
<<
iter
->
first
<<
"="
<<
iter
->
second
;
try
{
try
{
std
::
cout
<<
options
.
str
()
<<
std
::
endl
;
program
.
build
(
vector
<
cl
::
Device
>
(
1
,
device
),
options
.
str
().
c_str
());
program
.
build
(
vector
<
cl
::
Device
>
(
1
,
device
),
options
.
str
().
c_str
());
}
catch
(
cl
::
Error
err
)
{
}
catch
(
cl
::
Error
err
)
{
throw
OpenMMException
(
"Error compiling kernel: "
+
program
.
getBuildInfo
<
CL_PROGRAM_BUILD_LOG
>
(
device
));
throw
OpenMMException
(
"Error compiling kernel: "
+
program
.
getBuildInfo
<
CL_PROGRAM_BUILD_LOG
>
(
device
));
...
...
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