clover: add trivial clCreateCommandQueueWithProperties implementation
authorKarol Herbst <kherbst@redhat.com>
Mon, 12 Mar 2018 10:04:38 +0000 (11:04 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 4 Feb 2020 18:09:23 +0000 (18:09 +0000)
commit333c9d5bb054d5ac5518e830b535e8a4f3f80187
treed3017916a97d3b9009dd263ad5dd5b6f337a53cc
parentb064697af1dc8927756986f396c793e0e23c42e9
clover: add trivial clCreateCommandQueueWithProperties implementation

It's not adding 2.0 features, but it's enough to run the 2.0 CTS on top of
clover and probably most CL applications using it.

We just fail if we hit unknown properties and that's probably good enough
until we implement the other bits properly.

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Pierre Moreau <dev@pmoreau.org>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2370>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2370>
src/gallium/state_trackers/clover/api/dispatch.cpp
src/gallium/state_trackers/clover/api/queue.cpp