CL_PLATFORM_VENDOR should be CL_PLATFORM_NAME.
This commit is contained in:
parent
bb4b410512
commit
861de8a6e9
@ -318,7 +318,7 @@ namespace cv
|
|||||||
openCLSafeCall(clGetDeviceIDs(platforms[i], devicetype, numsdev, &devices[0], 0));
|
openCLSafeCall(clGetDeviceIDs(platforms[i], devicetype, numsdev, &devices[0], 0));
|
||||||
|
|
||||||
Info ocltmpinfo;
|
Info ocltmpinfo;
|
||||||
openCLSafeCall(clGetPlatformInfo(platforms[i], CL_PLATFORM_VENDOR, sizeof(plfmName), plfmName, NULL));
|
openCLSafeCall(clGetPlatformInfo(platforms[i], CL_PLATFORM_NAME, sizeof(plfmName), plfmName, NULL));
|
||||||
ocltmpinfo.PlatformName = String(plfmName);
|
ocltmpinfo.PlatformName = String(plfmName);
|
||||||
ocltmpinfo.impl->platName = String(plfmName);
|
ocltmpinfo.impl->platName = String(plfmName);
|
||||||
ocltmpinfo.impl->oclplatform = platforms[i];
|
ocltmpinfo.impl->oclplatform = platforms[i];
|
||||||
|
Loading…
Reference in New Issue
Block a user