[Beignet] [PATCH] Fix crash when output IR

Homer Hsing homer.xing at intel.com
Tue Apr 23 00:34:21 PDT 2013


When output IR, program crashes because two register names are missing.

Signed-off-by: Homer Hsing <homer.xing at intel.com>
---
 backend/src/ir/profile.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/backend/src/ir/profile.cpp b/backend/src/ir/profile.cpp
index 55a2492..61531be 100644
--- a/backend/src/ir/profile.cpp
+++ b/backend/src/ir/profile.cpp
@@ -39,6 +39,7 @@ namespace ir {
         "global_offset_0", "global_offset_1", "global_offset_2",
         "stack_pointer",
         "block_ip",
+        "barrier_id", "thread_number",
     };
 
 #if GBE_DEBUG
-- 
1.8.1.2



More information about the Beignet mailing list