[Beignet] [PATCH] Backend: Make CALC_TIMESTAMP and STORE_PROFILING not be scheduled.

junyan.he at inbox.com junyan.he at inbox.com
Wed Aug 12 09:48:31 PDT 2015


From: Junyan He <junyan.he at linux.intel.com>

Signed-off-by: Junyan He <junyan.he at linux.intel.com>
---
 backend/src/backend/gen_insn_scheduling.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/backend/src/backend/gen_insn_scheduling.cpp b/backend/src/backend/gen_insn_scheduling.cpp
index b3b7042..2c15e53 100644
--- a/backend/src/backend/gen_insn_scheduling.cpp
+++ b/backend/src/backend/gen_insn_scheduling.cpp
@@ -584,8 +584,8 @@ namespace gbe
       ScheduleDAGNode *node = tracker.insnNodes[insnID];
       if (node->insn.isBranch() || node->insn.isLabel()
           || node->insn.opcode == SEL_OP_EOT || node->insn.opcode == SEL_OP_IF || node->insn.opcode == SEL_OP_WHILE
-          || node->insn.opcode == SEL_OP_READ_ARF
-          || node->insn.opcode == SEL_OP_BARRIER)
+          || node->insn.opcode == SEL_OP_READ_ARF || node->insn.opcode == SEL_OP_BARRIER
+          || node->insn.opcode == SEL_OP_CALC_TIMESTAMP || node->insn.opcode == SEL_OP_STORE_PROFILING)
         tracker.makeBarrier(insnID, insnNum);
     }
 
-- 
1.7.9.5





More information about the Beignet mailing list