[Beignet] [PATCH] refine gbe_bin_generater usage to add -t option

Guo Yejun yejun.guo at intel.com
Tue Jan 6 21:25:14 PST 2015


-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



More information about the Beignet mailing list