Searched refs:string_returned (Results 1 – 1 of 1) sorted by relevance
/external/OpenCL-CTS/test_conformance/api/ |
D | test_platform.cpp | 155 char *string_returned; in test_get_platform_ids() local 157 string_returned = (char*)malloc(8192); in test_get_platform_ids() 187 memset(string_returned, 0, 8192); in test_get_platform_ids() 188 err = clGetPlatformInfo(platforms[p], CL_PLATFORM_PROFILE, 8192, string_returned, &size); in test_get_platform_ids() 190 log_info("\tCL_PLATFORM_PROFILE: %s\n", string_returned); in test_get_platform_ids() 191 if (strlen(string_returned)+1 != size) { in test_get_platform_ids() 192 …("Returned string length %ld does not equal reported one %ld.\n", strlen(string_returned)+1, size); in test_get_platform_ids() 196 memset(string_returned, 0, 8192); in test_get_platform_ids() 197 err = clGetPlatformInfo(platforms[p], CL_PLATFORM_VERSION, 8192, string_returned, &size); in test_get_platform_ids() 199 log_info("\tCL_PLATFORM_VERSION: %s\n", string_returned); in test_get_platform_ids() [all …]
|