[Beignet] [PATCH] refine gbe_bin_generater usage to add -t option
Zhigang Gong
zhigang.gong at linux.intel.com
Tue Jan 6 22:03:14 PST 2015
LGTM, will push latter. Thanks.
On Wed, Jan 07, 2015 at 01:25:14PM +0800, Guo Yejun wrote:
> -t option specifies the gen target pci id, it tells gbe_bin_generater
> the target platform that it compiles for. The compile result is llvm
> level binary if this option is not given.
>
> Signed-off-by: Guo Yejun <yejun.guo at intel.com>
> ---
> backend/src/gbe_bin_generater.cpp | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/backend/src/gbe_bin_generater.cpp b/backend/src/gbe_bin_generater.cpp
> index f8e45fb..f4be488 100644
> --- a/backend/src/gbe_bin_generater.cpp
> +++ b/backend/src/gbe_bin_generater.cpp
> @@ -310,7 +310,7 @@ int main (int argc, const char **argv)
> deque<int> used_index;
>
> if (argc < 2) {
> - cout << "Usage: kernel_path [-pbuild_parameter]\n[-obin_path]" << endl;
> + cout << "Usage: kernel_path [-pbuild_parameter] [-obin_path] [-tgen_pci_id]" << endl;
> return 0;
> }
>
> --
> 1.9.1
>
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet
More information about the Beignet
mailing list