[Beignet] [PATCH v3] GBE: Avoid unecessary dag/liveness computing at backend.

Song, Ruiling ruiling.song at intel.com
Mon Apr 28 00:20:38 PDT 2014


--- a/backend/src/backend/gen_program.cpp
+++ b/backend/src/backend/gen_program.cpp
@@ -80,9 +80,12 @@ namespace gbe {
     bool limitRegisterPressure;
   } codeGenStrategy[] = {
     {16, 0, false},
+    {16, 5, false},
     {16, 10, false},
     {8, 0, false},
+    {8, 4, false},
     {8, 8, false},
+    {8, 16, false},
   };
 If there is no special reason, I think you can remove at least one strategy you added, either {16, 5, false}, or {8, 4, false}.

-      GBE_DELETE(ctx);
       fn->getImageSet()->clearInfo();
     }
+    //GBE_DELETE(ctx);
Is this a typo? Why you comment it?



More information about the Beignet mailing list