[Beignet] [PATCH 1/5] HSW: Fix a compact assert.
Zhigang Gong
zhigang.gong at linux.intel.com
Thu May 29 18:12:16 PDT 2014
This patch LGTM, but the whole patchset should be tested by someone else on HSW machine
before I pushed it.
On Fri, May 30, 2014 at 12:37:30AM +0800, Yang Rong wrote:
> Also use const static int instead of const int to avoid build error
> in some gcc.
>
> Signed-off-by: Yang Rong <rong.r.yang at intel.com>
> ---
> backend/src/backend/gen_insn_compact.cpp | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/backend/src/backend/gen_insn_compact.cpp b/backend/src/backend/gen_insn_compact.cpp
> index 43852a7..f19c364 100644
> --- a/backend/src/backend/gen_insn_compact.cpp
> +++ b/backend/src/backend/gen_insn_compact.cpp
> @@ -321,6 +321,8 @@ namespace gbe {
> b.execution_size = GEN_WIDTH_8;
> else if (execWidth == 16)
> b.execution_size = GEN_WIDTH_16;
> + else if (execWidth == 4)
> + b.execution_size = GEN_WIDTH_4;
> else if (execWidth == 1)
> b.execution_size = GEN_WIDTH_1;
> else
> --
> 1.8.3.2
>
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet
More information about the Beignet
mailing list