summaryrefslogtreecommitdiff
path: root/sc/source/core/opencl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-11-12 20:17:48 +0200
committerTor Lillqvist <tml@collabora.com>2014-11-12 21:50:02 +0200
commitaf8a6797918fa9f6450dae856f519257da00be3c (patch)
tree5efe012e16160593824516322548f0d068d8f1b4 /sc/source/core/opencl
parent607a306ab74f4b84f277605762eea81142a820dc (diff)
A bit more informative SAL_INFO logging
Change-Id: I60c38129a532e3843db4a422755ae50e4689b91f
Diffstat (limited to 'sc/source/core/opencl')
-rw-r--r--sc/source/core/opencl/openclwrapper.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/sc/source/core/opencl/openclwrapper.cxx b/sc/source/core/opencl/openclwrapper.cxx
index c30737158eea..f91e062451de 100644
--- a/sc/source/core/opencl/openclwrapper.cxx
+++ b/sc/source/core/opencl/openclwrapper.cxx
@@ -526,6 +526,8 @@ bool checkForKnownBadCompilers(const OpenCLPlatformInfo& rPlatform, const OpenCL
i != ScInterpreter::GetGlobalConfig().maOpenCLBlackList.end();
++i)
{
+ SAL_INFO("sc.opencl", "Looking for match for platform=" << rPlatform << ", device=" << rDevice << " in blacklist entry=" << *i);
+
#if defined WNT
if (i->maOS != "*" && i->maOS != "Windows")
continue;
@@ -552,7 +554,7 @@ bool checkForKnownBadCompilers(const OpenCLPlatformInfo& rPlatform, const OpenCL
continue;
// It matches; reject it
- SAL_INFO("sc.opencl", "Match for platform=" << rPlatform << ", device=" << rDevice << " in blacklist=" << *i);
+ SAL_INFO("sc.opencl", "Match! Rejecting");
return true;
}
@@ -562,6 +564,8 @@ bool checkForKnownBadCompilers(const OpenCLPlatformInfo& rPlatform, const OpenCL
i != ScInterpreter::GetGlobalConfig().maOpenCLWhiteList.end();
++i)
{
+ SAL_INFO("sc.opencl", "Looking for match for platform=" << rPlatform << ", device=" << rDevice << " in whitelist entry=" << *i);
+
#if defined WNT
if (i->maOS != "*" && i->maOS != "Windows")
continue;
@@ -587,7 +591,7 @@ bool checkForKnownBadCompilers(const OpenCLPlatformInfo& rPlatform, const OpenCL
continue;
// It matches; approve it
- SAL_INFO("sc.opencl", "Match for platform=" << rPlatform << ", device=" << rDevice << " in whitelist=" << *i);
+ SAL_INFO("sc.opencl", "Match! Approving");
return false;
}