Kaydet (Commit) df8c7d1c authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Don't output idiotic comments in the generated OpenCL

We don't want silly non-informative comments in our C++ code. It is even more
pointless to put them into generated OpenCL code.

Change-Id: I89afc7234807a3ec5379c5d55a2ea8d52bde7600
üst 7c3386f2
......@@ -1009,14 +1009,14 @@ public:
}
ss << temp2.str();
}
ss << "} // to scope the int i declaration\n";
ss << "}\n";
needBody = false;
return nCurWindowSize;
}
// (mpDVR->IsStartFixed() && mpDVR->IsEndFixed())
else
{
ss << "//else situation \n\t";
ss << "\n\t";
ss << "tmpBottom = " << mpCodeGen->GetBottom() << ";\n\t";
ss << "{int i;\n\t";
std::stringstream temp1, temp2;
......@@ -1049,7 +1049,7 @@ public:
}
ss << temp2.str();
}
ss << "} // to scope the int i declaration\n";
ss << "}\n";
needBody = false;
return nCurWindowSize;
}
......
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