Searched refs:CL_EXIT_ERROR (Results 1 – 2 of 2) sorted by relevance
/external/OpenCL-CTS/test_conformance/events/ |
D | test_userevents.cpp | 32 #define CL_EXIT_ERROR(cmd,...) \ macro 42 #define CL_EXIT_ERROR(cmd,format,...) \ macro 88 CL_EXIT_ERROR(err,"clCreateUserEvent failed"); in test_userevents() 93 …CL_EXIT_ERROR(clGetEventInfo(u1, CL_EVENT_COMMAND_EXECUTION_STATUS, sizeof s, &s, &sizeofs),"clGet… in test_userevents() 94 …CL_EXIT_ERROR((sizeof s == sizeofs) ? CL_SUCCESS : -1,"clGetEventInfo returned wrong size for CL_E… in test_userevents() 95 …CL_EXIT_ERROR((s == CL_SUBMITTED) ? CL_SUCCESS : -1,"clGetEventInfo returned wrong value for CL_EV… in test_userevents() 99 …CL_EXIT_ERROR(clGetEventInfo(u1, CL_EVENT_COMMAND_TYPE, sizeof t, &t, &sizeoft),"clGetEventInfo fa… in test_userevents() 100 …CL_EXIT_ERROR((sizeof t == sizeoft) ? CL_SUCCESS : -1,"clGetEventInfo returned wrong size for CL_E… in test_userevents() 101 …CL_EXIT_ERROR((t == CL_COMMAND_USER) ? CL_SUCCESS : -1,"clGetEventInfo returned wrong value for CL… in test_userevents() 105 …CL_EXIT_ERROR(clGetEventInfo(u1, CL_EVENT_COMMAND_QUEUE, sizeof q, &q, &sizeofq),"clGetEventInfo f… in test_userevents() [all …]
|
/external/OpenCL-CTS/test_conformance/basic/ |
D | test_bufferreadwriterect.cpp | 26 #define CL_EXIT_ERROR(cmd,format,...) \ macro 161 …CL_EXIT_ERROR(err, "clEnqueueCopyBufferRect failed between %u and %u",(unsigned)src,(unsigned)dst); in copy_region() 254 CL_EXIT_ERROR(clEnqueueReadBufferRect(queue, in read_verify_region() 278 CL_EXIT_ERROR(err, "clEnqueueMapBuffer failed for buffer %u",(unsigned)src); in map_verify_region() 285 CL_EXIT_ERROR(clEnqueueUnmapMemObject(queue,buffer[src],mapped,0,NULL,NULL), in map_verify_region() 302 CL_EXIT_ERROR(clEnqueueWriteBufferRect(queue, in write_region() 357 …CL_EXIT_ERROR(clGetDeviceInfo(device, CL_DEVICE_MAX_MEM_ALLOC_SIZE, sizeof(cl_ulong), &max_mem_all… in test_bufferreadwriterect() 421 CL_EXIT_ERROR(verify[i] ? CL_SUCCESS : -1, "malloc of host buffer failed for buffer %u", i); in test_bufferreadwriterect() 425 … CL_EXIT_ERROR(backing[i] ? CL_SUCCESS : -1, "malloc of backing buffer failed for buffer %u", i); in test_bufferreadwriterect() 436 CL_EXIT_ERROR(err,"clCreateBuffer failed for buffer %u", i); in test_bufferreadwriterect() [all …]
|