~sjr/beignet/master

Viewing all changes in revision 2070.

  • Committer: Zhigang Gong
  • Author(s): Junyan He
  • Date: 2015-02-04 10:10:57 UTC
  • Revision ID: git-v1:f784052fa92005467ea3d2316be197b34fa32b8f
Fix a bug of 1d image array test case.

Because of the HW limitation, vertical stride is at
least aligned to 2. For 1D array image, the data has interval.
The image size is just twice as big as the buffer size we think.
Use clEnqueueWriteImage is safe and fix this bug.

Signed-off-by: Junyan He <junyan.he@linux.intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: