HSW: Corret the scratch buffer size calc and set the correct index in vfe state.
authorYang Rong <rong.r.yang@intel.com>
Mon, 19 May 2014 05:52:25 +0000 (13:52 +0800)
committerZhigang Gong <zhigang.gong@intel.com>
Mon, 19 May 2014 04:54:22 +0000 (12:54 +0800)
commita13372ca0116861983a64868d9165dd7b7119e51
tree6b8c29d716f17d39121d256e09af518a49398336
parentc1d515413bb8168c92a2fe61fbdde7ab36ce2cc0
HSW: Corret the scratch buffer size calc and set the correct index in vfe state.

HSW's scratch buffer alignment and the index set in vfe state are different with IVB.
And when calc per thread's stack offset, will used R0.0's FFTID to, the define of
FFTID also changed in HSW.
With this patch, all utest pass.

Signed-off-by: Yang Rong <rong.r.yang@intel.com>
Reviewed-by: Junyan He <junyan.he@inbox.com>
backend/src/backend/context.cpp
backend/src/backend/context.hpp
backend/src/backend/gen75_context.cpp
backend/src/backend/gen75_context.hpp
backend/src/backend/gen_context.cpp
backend/src/backend/gen_context.hpp
src/cl_device_id.c
src/intel/intel_gpgpu.c