Lines Matching refs:readEvent
130 cl_event readEvent; in read_image() local
252 …r = clEnqueueReadImage( queue, memobjs[0], false, origin, region, 0, 0, dst, 0, NULL, &readEvent ); in read_image()
266 err = clWaitForEvents( 1, &readEvent ); in read_image()
269 clReleaseEvent(readEvent); in read_image()
279 …while( ( err = clGetEventProfilingInfo( readEvent, CL_PROFILING_COMMAND_QUEUED, sizeof( cl_ulong )… in read_image()
283 clReleaseEvent(readEvent); in read_image()
293 …while( ( err = clGetEventProfilingInfo( readEvent, CL_PROFILING_COMMAND_SUBMIT, sizeof( cl_ulong )… in read_image()
297 clReleaseEvent(readEvent); in read_image()
307 …err = clGetEventProfilingInfo( readEvent, CL_PROFILING_COMMAND_START, sizeof( cl_ulong ), &readSta… in read_image()
310 clReleaseEvent(readEvent); in read_image()
320 …err = clGetEventProfilingInfo( readEvent, CL_PROFILING_COMMAND_END, sizeof( cl_ulong ), &readEnd, … in read_image()
323 clReleaseEvent(readEvent); in read_image()
341 clReleaseEvent(readEvent); in read_image()