clover: Pass work_dim parameter of clEnqueueNDRangeKernel() to driver
authorHans de Goede <hdegoede@redhat.com>
Fri, 22 Apr 2016 12:47:05 +0000 (14:47 +0200)
committerHans de Goede <hdegoede@redhat.com>
Sat, 2 Jul 2016 10:21:28 +0000 (12:21 +0200)
commitef8e50a841e79597ca56ae081102119329fd154c
treec11c8f71c1c8817d03e7eaf9c2c04199a8a394e2
parentd386cef246b5949a1199f3b9d53a9e6d125e4869
clover: Pass work_dim parameter of clEnqueueNDRangeKernel() to driver

In order to implement get_work_dim() the driver may need to know the
clEnqueueNDRangeKernel() work_dim parameter, so pass it to the driver.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/gallium/include/pipe/p_state.h
src/gallium/state_trackers/clover/core/kernel.cpp