Kaydet (Commit) c51fc2df authored tarafından Tor Lillqvist's avatar Tor Lillqvist

We want the platform vendor here, not the platform name

We already have the platform name in maName.

Change-Id: Iec94ce72cbaba0adf1c82a90892ab98851f5c8ca
üst d12efada
...@@ -661,7 +661,7 @@ bool createPlatformInfo(cl_platform_id nPlatformId, OpenCLPlatformInfo& rPlatfor ...@@ -661,7 +661,7 @@ bool createPlatformInfo(cl_platform_id nPlatformId, OpenCLPlatformInfo& rPlatfor
if(nState != CL_SUCCESS) if(nState != CL_SUCCESS)
return false; return false;
rPlatformInfo.maVendor = OUString::createFromAscii(pName); rPlatformInfo.maVendor = OUString::createFromAscii(pVendor);
cl_uint nDevices; cl_uint nDevices;
nState = clGetDeviceIDs(nPlatformId, CL_DEVICE_TYPE_ALL, 0, NULL, &nDevices); nState = clGetDeviceIDs(nPlatformId, CL_DEVICE_TYPE_ALL, 0, NULL, &nDevices);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment