/external/OpenCL-CTS/test_conformance/vulkan/ |
D | test_vulkan_api_consistency.cpp | 39 cl_int errNum; in test_consistency_external_buffer() local 47 errNum = clGetPlatformIDs(1, &platform, NULL); in test_consistency_external_buffer() 48 test_error(errNum, "Failed to get platform Id"); in test_consistency_external_buffer() 53 NULL, NULL, &errNum); in test_consistency_external_buffer() 54 test_error(errNum, "Unable to create context with properties"); in test_consistency_external_buffer() 56 cmd_queue = clCreateCommandQueue(context, deviceID, 0, &errNum); in test_consistency_external_buffer() 57 test_error(errNum, "Unable to create command queue"); in test_consistency_external_buffer() 106 errNum = check_external_memory_handle_type(devList[0], type); in test_consistency_external_buffer() 113 errNum = check_external_memory_handle_type(devList[0], type); in test_consistency_external_buffer() 121 errNum = check_external_memory_handle_type(devList[0], type); in test_consistency_external_buffer() [all …]
|
D | main.cpp | 214 int errNum = 0; in main() local 256 errNum = clGetPlatformIDs(1, &platform, NULL); in main() 257 if (errNum != CL_SUCCESS) in main() 259 print_error(errNum, "Error: Failed to get platform\n"); in main() 260 return errNum; in main() 263 errNum = in main() 265 if (CL_SUCCESS != errNum) in main() 267 print_error(errNum, "clGetDeviceIDs failed in returning of devices\n"); in main() 268 return errNum; in main() 273 print_error(errNum, "Unable to allocate memory for devices\n"); in main() [all …]
|
D | test_vulkan_platform_device_info.cpp | 57 cl_int errNum; in test_platform_info() local 63 errNum = clGetPlatformIDs(0, NULL, &num_platforms); in test_platform_info() 64 test_error(errNum, "clGetPlatformIDs (getting count) failed"); in test_platform_info() 74 errNum = clGetPlatformIDs(num_platforms, platforms, NULL); in test_platform_info() 75 test_error(errNum, "clGetPlatformIDs (getting IDs) failed"); in test_platform_info() 84 errNum = in test_platform_info() 87 test_error(errNum, "clGetPlatformInfo failed"); in test_platform_info() 90 errNum = in test_platform_info() 93 test_error(errNum, "clGetPlatformInfo failed"); in test_platform_info() 120 cl_int errNum = CL_SUCCESS; in test_device_info() local [all …]
|
D | test_vulkan_interop_buffer.cpp | 1494 cl_int errNum = CL_SUCCESS; in test_buffer_common() local 1527 errNum = clGetPlatformIDs(1, &platform, NULL); in test_buffer_common() 1528 if (errNum != CL_SUCCESS) in test_buffer_common() 1530 print_error(errNum, "Error: Failed to get platform\n"); in test_buffer_common() 1534 errNum = in test_buffer_common() 1536 if (CL_SUCCESS != errNum) in test_buffer_common() 1538 print_error(errNum, "clGetDeviceIDs failed in returning of devices\n"); in test_buffer_common() 1544 errNum = CL_OUT_OF_HOST_MEMORY; in test_buffer_common() 1545 print_error(errNum, "Unable to allocate memory for devices\n"); in test_buffer_common() 1548 errNum = clGetDeviceIDs(platform, CL_DEVICE_TYPE_GPU, num_devices, devices, in test_buffer_common() [all …]
|
/external/OpenCL-CTS/test_conformance/vulkan/vulkan_interop_common/ |
D | vulkan_utility.cpp | 42 cl_int errNum = 0; in getVulkanPhysicalDevice() local 57 errNum = clGetPlatformIDs(1, &platform, NULL); in getVulkanPhysicalDevice() 58 if (errNum != CL_SUCCESS) in getVulkanPhysicalDevice() 64 errNum = in getVulkanPhysicalDevice() 66 if (CL_SUCCESS != errNum) in getVulkanPhysicalDevice() 77 errNum = clGetDeviceIDs(platform, CL_DEVICE_TYPE_GPU, num_devices, devices, in getVulkanPhysicalDevice() 79 if (CL_SUCCESS != errNum) in getVulkanPhysicalDevice() 86 errNum = clGetDeviceInfo(devices[device_no], CL_DEVICE_EXTENSIONS, 0, in getVulkanPhysicalDevice() 88 if (CL_SUCCESS != errNum) in getVulkanPhysicalDevice() 99 errNum = clGetDeviceInfo(devices[device_no], CL_DEVICE_EXTENSIONS, in getVulkanPhysicalDevice() [all …]
|
D | opencl_vulkan_wrapper.cpp | 453 cl_int errNum = CL_SUCCESS; in check_external_memory_handle_type() local 455 errNum = clGetDeviceInfo(deviceID, in check_external_memory_handle_type() 461 errNum = clGetDeviceInfo(deviceID, in check_external_memory_handle_type() 466 errNum, in check_external_memory_handle_type() 489 cl_int errNum = CL_SUCCESS; in check_external_semaphore_handle_type() local 491 errNum = in check_external_semaphore_handle_type() 497 errNum = in check_external_semaphore_handle_type() 502 errNum, in check_external_semaphore_handle_type()
|
/external/libpcap/msdos/ |
D | pktdrvr.h | 126 extern const char *PktGetErrorStr (int errNum);
|
D | pktdrvr.c | 216 PUBLIC const char *PktGetErrorStr (int errNum) in PktGetErrorStr() argument 241 if (errNum < 0 || errNum >= DIM(errStr)) in PktGetErrorStr() 243 return (errStr [errNum]); in PktGetErrorStr()
|
/external/mdnsresponder/mDNSPosix/ |
D | mDNSPosix.c | 116 #define PosixErrorToStatus(errNum) ((errNum) == 0 ? mStatus_NoError : mStatus_UnknownErr) argument
|