diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-11-17 18:17:48 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-11-17 18:19:51 +0100 |
commit | 8ab21b9c995c0f018055bb3355c3ebdd4deb48ca (patch) | |
tree | 2a6cc98a8fe8d0481050bcf1c17ff791662661d6 /sc/source | |
parent | 91e814f66f5561798902f767d64c4366b376a1d3 (diff) |
fix problem with retriving vendor information from opencl devices
Change-Id: Iff9017b64159254c749fc2c3ddc9033d524f9395
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/core/opencl/openclwrapper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/opencl/openclwrapper.cxx b/sc/source/core/opencl/openclwrapper.cxx index 8ca70d0019d4..9a056aa0fd46 100644 --- a/sc/source/core/opencl/openclwrapper.cxx +++ b/sc/source/core/opencl/openclwrapper.cxx @@ -731,7 +731,7 @@ void createDeviceInfo(cl_device_id aDeviceId, OpenclPlatformInfo& rPlatformInfo) aDeviceInfo.maName = OUString::createFromAscii(pName); char pVendor[DEVICE_NAME_LENGTH]; - nState = clGetDeviceInfo(aDeviceId, CL_DEVICE_VENDOR, DEVICE_NAME_LENGTH, pName, NULL); + nState = clGetDeviceInfo(aDeviceId, CL_DEVICE_VENDOR, DEVICE_NAME_LENGTH, pVendor, NULL); if(nState != CL_SUCCESS) return; |