Re: [Mesa-dev] [PATCH 2/2] clover: check clEnqueueMap* for map errors

2015-06-09 Thread Francisco Jerez
Grigori Goronzy writes: > Mapping can fail, and this should be handled. Return the proper error > code and abort the associated event in this case. > --- > src/gallium/state_trackers/clover/api/transfer.cpp | 16 ++-- > 1 file changed, 14 insertions(+), 2 deletions(-) > > diff --git

[Mesa-dev] [PATCH 2/2] clover: check clEnqueueMap* for map errors

2015-05-28 Thread Grigori Goronzy
Mapping can fail, and this should be handled. Return the proper error code and abort the associated event in this case. --- src/gallium/state_trackers/clover/api/transfer.cpp | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/gallium/state_trackers/clover/api