LGTM, thanks.
On Wed, Oct 09, 2013 at 02:36:27PM +0800, Yang Rong wrote: > > Signed-off-by: Yang Rong <rong.r.y...@intel.com> > --- > src/cl_api.c | 25 ------------------------- > 1 file changed, 25 deletions(-) > > diff --git a/src/cl_api.c b/src/cl_api.c > index 42948e8..71bab32 100644 > --- a/src/cl_api.c > +++ b/src/cl_api.c > @@ -1270,9 +1270,6 @@ clEnqueueReadBuffer(cl_command_queue command_queue, > goto error; > } > > - if (blocking_read != CL_TRUE) > - NOT_IMPLEMENTED; > - > if (!ptr || !size || offset + size > buffer->size) { > err = CL_INVALID_VALUE; > goto error; > @@ -1329,9 +1326,6 @@ clEnqueueReadBufferRect(cl_command_queue command_queue, > goto error; > } > > - if (blocking_read != CL_TRUE) > - NOT_IMPLEMENTED; > - > if (!ptr || !region || region[0] == 0 || region[1] == 0 || region[2] == 0) > { > err = CL_INVALID_VALUE; > goto error; > @@ -1409,9 +1403,6 @@ clEnqueueWriteBuffer(cl_command_queue command_queue, > goto error; > } > > - if (blocking_write != CL_TRUE) > - NOT_IMPLEMENTED; > - > if (!ptr || !size || offset + size > buffer->size) { > err = CL_INVALID_VALUE; > goto error; > @@ -1468,10 +1459,6 @@ clEnqueueWriteBufferRect(cl_command_queue > command_queue, > goto error; > } > > - if (blocking_write != CL_TRUE) > - NOT_IMPLEMENTED; > - > - > if (!ptr || !region || region[0] == 0 || region[1] == 0 || region[2] == 0) > { > err = CL_INVALID_VALUE; > goto error; > @@ -1656,9 +1643,6 @@ clEnqueueReadImage(cl_command_queue command_queue, > goto error; > } > > - if (blocking_read != CL_TRUE) > - NOT_IMPLEMENTED; > - > if (!origin || !region || origin[0] + region[0] > image->w || origin[1] + > region[1] > image->h || origin[2] + region[2] > image->depth) { > err = CL_INVALID_VALUE; > goto error; > @@ -1738,9 +1722,6 @@ clEnqueueWriteImage(cl_command_queue command_queue, > goto error; > } > > - if (blocking_write != CL_TRUE) > - NOT_IMPLEMENTED; > - > if (!origin || !region || origin[0] + region[0] > image->w || origin[1] + > region[1] > image->h || origin[2] + region[2] > image->depth) { > err = CL_INVALID_VALUE; > goto error; > @@ -2073,9 +2054,6 @@ clEnqueueMapBuffer(cl_command_queue command_queue, > goto error; > } > > - if (blocking_map != CL_TRUE) > - NOT_IMPLEMENTED; > - > if (!size || offset + size > buffer->size) { > err = CL_INVALID_VALUE; > goto error; > @@ -2141,9 +2119,6 @@ clEnqueueMapImage(cl_command_queue command_queue, > goto error; > } > > - if (blocking_map != CL_TRUE) > - NOT_IMPLEMENTED; > - > if (!origin || !region || origin[0] + region[0] > image->w || origin[1] + > region[1] > image->h || origin[2] + region[2] > image->depth) { > err = CL_INVALID_VALUE; > goto error; > -- > 1.8.1.2 > > _______________________________________________ > Beignet mailing list > Beignet@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/beignet _______________________________________________ Beignet mailing list Beignet@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/beignet