utests: should set pitch to zero if host_ptr is NULL.
authorZhigang Gong <zhigang.gong@linux.intel.com>
Fri, 19 Apr 2013 08:31:09 +0000 (16:31 +0800)
committerZhigang Gong <zhigang.gong@linux.intel.com>
Mon, 22 Apr 2013 09:42:42 +0000 (17:42 +0800)
commitef83bc2790d6be7e0e70a90e3b2cf0cb0dc852ca
treeb601e2c044eef5ded4b4d27802c0bf94523b1a14
parent9c11c18544992a456e6eab8da2949ebd134a4e44
utests: should set pitch to zero if host_ptr is NULL.

Per OCL spec, we should set pitch to zero if the host_ptr is
NULL.

Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Simon Richter <Simon.Richter@hogyros.de>
utests/compiler_copy_image.cpp
utests/compiler_fill_image.cpp
utests/compiler_fill_image0.cpp
utests/compiler_movforphi_undef.cpp