clover: Allow overriding platform/device version numbers
authorAaron Watry <awatry@gmail.com>
Thu, 10 Aug 2017 03:02:30 +0000 (22:02 -0500)
committerAaron Watry <awatry@gmail.com>
Tue, 6 Mar 2018 02:09:46 +0000 (20:09 -0600)
commit95ae6c0355379127706e516d177f7f6ee8296d48
treedaf8f74b5f41c4b2f76d61acd92421edc299fc96
parent106020712fa3250caafb4d42d590d366c8bd8ac9
clover: Allow overriding platform/device version numbers

Useful for testing API, builtin library, and device completeness of
not-yet-supported versions.

Signed-off-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Pierre Moreau <pierre.morrow@free.fr>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
(v3) Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Cc: Jan Vesely <jan.vesely@rutgers.edu>
v4: Remove redundant std::string wrapper around debug_get_option calls
v3: mark CL version overrides as static and const
v2: Make version_string in platform const in case
src/gallium/state_trackers/clover/api/platform.cpp
src/gallium/state_trackers/clover/core/device.cpp