clover: Unify program::build_* into a single method returning a struct.
authorFrancisco Jerez <currojerez@riseup.net>
Tue, 17 May 2016 14:03:13 +0000 (16:03 +0200)
committerFrancisco Jerez <currojerez@riseup.net>
Tue, 12 Jul 2016 03:34:34 +0000 (20:34 -0700)
commit1942490bae01d44a08f263ea2dc747d11c82acfe
tree4e68c0ea0ad27d8430e37db5359aef51dc5bb913
parent7f6a4a4342c1444990c55a77c60516c38738d203
clover: Unify program::build_* into a single method returning a struct.

This gets rid of the program::build_* query methods and replaces them
with the program::build() method that returns a single data structure
containing all parameters for the last build done on the given target
device (including build logs, options and the binary itself).

[ Serge Martin: Fix inverted opts and log build ctor args ]

Reviewed-by: Serge Martin <edb+mesa@sigluy.net>
Tested-by: Jan Vesely <jan.vesely@rutgers.edu>
src/gallium/state_trackers/clover/api/program.cpp
src/gallium/state_trackers/clover/core/kernel.cpp
src/gallium/state_trackers/clover/core/program.cpp
src/gallium/state_trackers/clover/core/program.hpp