diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-10-31 00:02:05 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-10-31 00:02:26 +0200 |
commit | 2f55701c550950ab4530df3c9ca305a819e3cabb (patch) | |
tree | d63b8964b924bb2951e42dffea3288fc9e861601 /sc | |
parent | 03d90274bcb6fb617034161c6d4676050d7e9edb (diff) |
Add a few informative SAL_INFOs
Change-Id: I1ac6366714acd7ec3e74b7afb4670c73825d1032
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/opencl/opencl_device.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/core/opencl/opencl_device.cxx b/sc/source/core/opencl/opencl_device.cxx index 90b4f3d84a9a..2703040713bb 100644 --- a/sc/source/core/opencl/opencl_device.cxx +++ b/sc/source/core/opencl/opencl_device.cxx @@ -249,6 +249,7 @@ ds_status evaluateScoreForDevice(ds_device* device, void* evalData) //buildOption = "-D KHR_DP_EXTENSION -Dfp_t=double -Dfp_t4=double4 -Dfp_t16=double16"; tmpStr.append(" -DKHR_DP_EXTENSION"); buildOption = tmpStr.c_str(); + SAL_INFO("sc.opencl.device", "... has cl_khr_fp64"); } else if ((std::string(aExtInfo)).find("cl_amd_fp64") != std::string::npos) { @@ -256,6 +257,7 @@ ds_status evaluateScoreForDevice(ds_device* device, void* evalData) //buildOption = "-D AMD_DP_EXTENSION -Dfp_t=double -Dfp_t4=double4 -Dfp_t16=double16"; tmpStr.append(" -DAMD_DP_EXTENSION"); buildOption = tmpStr.c_str(); + SAL_INFO("sc.opencl.device", "... has cl_amd_fp64"); } delete[] aExtInfo; @@ -265,6 +267,7 @@ ds_status evaluateScoreForDevice(ds_device* device, void* evalData) device->score = (void*)new LibreOfficeDeviceScore; ((LibreOfficeDeviceScore*)device->score)->fTime = DBL_MAX; ((LibreOfficeDeviceScore*)device->score)->bNoCLErrors = true; + SAL_INFO("sc.opencl.device", "... no fp64 support"); } else { |