diff options
author | Tor Lillqvist <tml@collabora.com> | 2013-11-26 11:08:57 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2013-11-26 11:10:09 +0200 |
commit | 90c03dd6281434bd2d8c7f05c3c2c808b298a272 (patch) | |
tree | 998d658bc5be44680f6f872c4cfb4de513235100 /sc | |
parent | 6e0e5503a998b6b0996d1f8013cdd963576b840e (diff) |
Reduce verbosity a bit
Still lots of gratuitous unconditional writing to std:cerr in there. But
maybe that's what we want.
Change-Id: I28a65d6535c814bf5c047a7255dd3970fffda5dc
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/opencl/formulagroupcl.cxx | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx index c87badc4c6cf..c4290f4eafd6 100644 --- a/sc/source/core/opencl/formulagroupcl.cxx +++ b/sc/source/core/opencl/formulagroupcl.cxx @@ -2514,9 +2514,8 @@ public: decl << ") {\n\tint gid0 = get_global_id(0);\n\tresult[gid0] = " << DK->GenSlidingWindowDeclRef(false) << ";\n}\n"; mFullProgramSrc = decl.str(); -#if 1 - std::cerr<< "Program to be compiled = \n" << mFullProgramSrc << "\n"; -#endif + + SAL_INFO("sc.opencl.source", "Program to be compiled:\n" << mFullProgramSrc); } /// Produce kernel hash std::string GetMD5(void) @@ -2590,15 +2589,12 @@ private: DynamicKernel::~DynamicKernel() { if (mpResClmem) { - std::cerr<<"Freeing kernel "<< GetMD5() << " result buffer\n"; clReleaseMemObject(mpResClmem); } if (mpKernel) { - std::cerr<<"Freeing kernel "<< GetMD5() << " kernel\n"; clReleaseKernel(mpKernel); } if (mpProgram) { - std::cerr<<"Freeing kernel "<< GetMD5() << " program\n"; clReleaseProgram(mpProgram); } if (mpCode) @@ -2647,13 +2643,11 @@ const DynamicKernelArgument *SymbolTable::DeclRefArg( ArgumentMap::iterator it = mSymbols.find(ref); if (it == mSymbols.end()) { // Allocate new symbols - std::cerr << "DeclRefArg: Allocate a new symbol:"; std::stringstream ss; ss << "tmp"<< mCurId++; boost::shared_ptr<DynamicKernelArgument> new_arg(new T(ss.str(), t, pCodeGen)); mSymbols[ref] = new_arg; mParams.push_back(new_arg); - std::cerr << ss.str() <<"\n"; return new_arg.get(); } else { return it->second.get(); |