diff options
author | Francisco Jerez <[email protected]> | 2013-04-06 14:35:00 +0200 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2013-04-13 14:20:16 +0200 |
commit | 1a8ad6c2e3beb00d07ef109b984658e08c5729da (patch) | |
tree | 9daa3310cadfd311ebb92109c131f920419293a8 /src/gtest | |
parent | 6ace4520559094b755ff1eb038ac68f38faa83c6 (diff) |
clover: Define platform class and merge with device_registry.
Null platform IDs are OK according to the spec, but some applications have
been reported to get paranoid and assume that our NULL platform is unusable.
As it doesn't hurt to have device enumeration separate from the rest of the
device code (quite the opposite, it makes the code cleaner), make the API use
an actual platform object that keeps track of the available devices instead of
the former NULL pointer.
Reported-and-reviewed-by: Tom Stellard <[email protected]>
Signed-off-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src/gtest')
0 files changed, 0 insertions, 0 deletions