clover: Stub implementation of CL 1.2 sub-devices.
authorEdB <edb+mesa@sigluy.net>
Sun, 27 Apr 2014 17:23:25 +0000 (19:23 +0200)
committerFrancisco Jerez <currojerez@riseup.net>
Tue, 29 Apr 2014 14:14:50 +0000 (16:14 +0200)
commit7fb05f929802bf32391e416ceb62a34b4571905c
tree29321c205d60aea2e617665977f9714ca63214c2
parent5827781d25d2e27ebbcfc2362fcc14cc710bccf5
clover: Stub implementation of CL 1.2 sub-devices.

The implementation is basically a NOP but it conforms with OpenCL 1.2.

[ Francisco Jerez: Initialize property return buffer for
  CL_DEVICE_PARTITION_PROPERTIES, CL_DEVICE_PARTITION_TYPE,
  CL_DEVICE_PARTITION_AFFINITY_DOMAIN, and make the latter a scalar
  rather than a vector.  Some clean-up and code style fixes. ]

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/gallium/state_trackers/clover/api/device.cpp
src/gallium/state_trackers/clover/api/dispatch.cpp
src/gallium/state_trackers/clover/api/dispatch.hpp