Commit c12bac04 authored by Peter Eastman's avatar Peter Eastman
Browse files

Removed debugging code that accidentally got left in

parent 017e60c5
...@@ -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));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment