summaryrefslogtreecommitdiff
path: root/opencl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-06-27 18:14:47 +0300
committerTor Lillqvist <tml@collabora.com>2016-06-27 18:17:03 +0300
commit4e3bcddeb561309f94973115e05d5ac63b178e0d (patch)
tree9ce795d1b32f3f8c510811c25c170423ac97547e /opencl
parentc62baccba2d4cdf61a2caca232278b7e6c6348d1 (diff)
Add some SAL_INFO output
Change-Id: I8b47034f5b1fed465415399de89979102df8d9a7
Diffstat (limited to 'opencl')
-rw-r--r--opencl/source/openclwrapper.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/opencl/source/openclwrapper.cxx b/opencl/source/openclwrapper.cxx
index ab65091d3e66..ace3210e9013 100644
--- a/opencl/source/openclwrapper.cxx
+++ b/opencl/source/openclwrapper.cxx
@@ -453,6 +453,12 @@ bool initOpenCLRunEnv( GPUEnv *gpuInfo )
clGetDeviceInfo(gpuInfo->mpDevID, CL_DEVICE_PREFERRED_VECTOR_WIDTH_FLOAT, sizeof(cl_uint),
&gpuInfo->mnPreferredVectorWidthFloat, nullptr);
+ SAL_INFO("opencl", "CL_DEVICE_PREFERRED_VECTOR_WIDTH_FLOAT=" << gpuInfo->mnPreferredVectorWidthFloat);
+
+ size_t nMaxParameterSize;
+ clGetDeviceInfo(gpuInfo->mpDevID, CL_DEVICE_MAX_PARAMETER_SIZE, sizeof(size_t),
+ &nMaxParameterSize, nullptr);
+ SAL_INFO("opencl", "CL_DEVICE_MAX_PARAMETER_SIZE=" << nMaxParameterSize);
return false;
}