Home | History | Annotate | Download | only in CL

Lines Matching defs:versionInfo

1666 static cl_uint getVersion(const char *versionInfo)
1671 while(versionInfo[index] != '.' ) {
1673 highVersion += versionInfo[index]-'0';
1677 while(versionInfo[index] != ' ' ) {
1679 lowVersion += versionInfo[index]-'0';
1689 char *versionInfo = (char *) alloca(size);
1690 clGetPlatformInfo(platform, CL_PLATFORM_VERSION, size, &versionInfo[0], &size);
1691 return getVersion(versionInfo);