HSW: align buffer's size to DWORD.
authorYang Rong <rong.r.yang@intel.com>
Mon, 19 May 2014 05:52:18 +0000 (13:52 +0800)
committerZhigang Gong <zhigang.gong@intel.com>
Mon, 19 May 2014 04:46:15 +0000 (12:46 +0800)
commit2cfa1d3e30f276b0f50f97b2fa661f31289acd2b
tree70945fc8b3f9c1ae38f3633a4dda4b1fcc68e8f1
parent31ff786aca19847cde402d55e9d7ef20b15c9d52
HSW: align buffer's size to DWORD.

HSW: Byte scattered Read/Write require that the buffer size must be a multiple of 4 bytes.
     So simply alignment all buffer size to 4. Pass utest compiler_function_constant0.

Because it is very light work around, align it without not check device.

Signed-off-by: Yang Rong <rong.r.yang@intel.com>
Reviewed-by: Junyan He <junyan.he@inbox.com>
src/cl_mem.c