Lines Matching refs:readEvent
130 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()
305 …err = clGetEventProfilingInfo( readEvent, CL_PROFILING_COMMAND_END, sizeof( cl_ulong ), &readEnd, … in read_image()
308 clReleaseEvent(readEvent); in read_image()
326 clReleaseEvent(readEvent); in read_image()