[Beignet] [PATCH] Fix crash when output IR

Lu, Guanqun guanqun.lu at intel.com
Tue Apr 23 19:14:57 PDT 2013


LGTM.

> -----Original Message-----
> From: beignet-bounces+guanqun.lu=intel.com at lists.freedesktop.org
> [mailto:beignet-bounces+guanqun.lu=intel.com at lists.freedesktop.org] On
> Behalf Of Homer Hsing
> Sent: Tuesday, April 23, 2013 3:34 PM
> To: beignet at lists.freedesktop.org
> Cc: Xing, Homer
> Subject: [Beignet] [PATCH] Fix crash when output IR
> 
> 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
> 
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet


More information about the Beignet mailing list