Home
last modified time | relevance | path

Searched refs:readEvent (Results 1 – 4 of 4) sorted by relevance

/external/OpenCL-CTS/test_conformance/profiling/
DreadImage.cpp130 cl_event readEvent; in read_image() local
237 …r = clEnqueueReadImage( queue, memobjs[0], false, origin, region, 0, 0, dst, 0, NULL, &readEvent ); in read_image()
251 err = clWaitForEvents( 1, &readEvent ); in read_image()
254 clReleaseEvent(readEvent); in read_image()
264 …while( ( err = clGetEventProfilingInfo( readEvent, CL_PROFILING_COMMAND_QUEUED, sizeof( cl_ulong )… in read_image()
268 clReleaseEvent(readEvent); in read_image()
278 …while( ( err = clGetEventProfilingInfo( readEvent, CL_PROFILING_COMMAND_SUBMIT, sizeof( cl_ulong )… in read_image()
282 clReleaseEvent(readEvent); in read_image()
292 …err = clGetEventProfilingInfo( readEvent, CL_PROFILING_COMMAND_START, sizeof( cl_ulong ), &readSta… in read_image()
295 clReleaseEvent(readEvent); in read_image()
[all …]
DreadArray.cpp622 cl_event readEvent; in test_stream_read() local
678 …eadBuffer( queue, streams[i], false, 0, ptrSizes[i]*num_elements, outptr[i], 0, NULL, &readEvent ); in test_stream_read()
687 err = clWaitForEvents( 1, &readEvent ); in test_stream_read()
697 …err = clGetEventProfilingInfo( readEvent, CL_PROFILING_COMMAND_QUEUED, sizeof( cl_ulong ), &queueS… in test_stream_read()
707 …err = clGetEventProfilingInfo( readEvent, CL_PROFILING_COMMAND_SUBMIT, sizeof( cl_ulong ), &submit… in test_stream_read()
717 …err = clGetEventProfilingInfo( readEvent, CL_PROFILING_COMMAND_START, sizeof( cl_ulong ), &readSta… in test_stream_read()
727 …err = clGetEventProfilingInfo( readEvent, CL_PROFILING_COMMAND_END, sizeof( cl_ulong ), &readEnd, … in test_stream_read()
749 clReleaseEvent(readEvent); in test_stream_read()
/external/lzma/C/
DMtCoder.c128 RINOK_THREAD(Event_Wait(&mtc->readEvent)) in ThreadFunc2()
134 return Event_Set(&mtc->readEvent) == 0 ? SZ_OK : SZ_ERROR_THREAD; in ThreadFunc2()
229 RINOK_THREAD(Event_Set(&mtc->readEvent)) in ThreadFunc2()
390 Event_Construct(&p->readEvent); in MtCoder_Construct()
431 Event_Close(&p->readEvent); in MtCoder_Free()
498 RINOK_THREAD(ArEvent_OptCreate_And_Reset(&p->readEvent)); in MtCoder_Code()
534 RINOK_THREAD(Event_Set(&p->readEvent)) in MtCoder_Code()
DMtCoder.h97 CAutoResetEvent readEvent; member