browndeer / coprthr

The CO-PRocessing THReads (COPRTHR) SDK - latest release is v1.6.2 (Freewill)
http://www.browndeertechnology.com/coprthr.html
Other
94 stars 35 forks source link

CL_PLATFORM_VERSION and CL_DEVICE_VERSION #8

Open Dade916 opened 11 years ago

Dade916 commented 11 years ago

COPRTHR returns the following string a result of CL_PLATFORM_VERSION:

coprthr-1.5.0-RC1 (Marathon)

This doesn't match OpenCL specs (http://www.khronos.org/registry/cl/sdk/1.0/docs/man/xhtml/clGetPlatformInfo.html) and can be the source of problems with code that decides what kernel to run based on platform OpenCL version.

The CL_DEVICE_VERSION seems also to return an empty string.

browndeer commented 11 years ago

Thanks. We are returning our SDK version string, but should correct this to the spec. Same with device version string. A word of caution there - some of the queried info for Epiphany libcoprthr-e OpenCL might not be correct. We still must catch some of this stuff since its easy to overlook.