<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
It's really a bug.<br>
Because of the HW limitation, vertical stride is at least aligned to
2.<br>
For 1D array image, the data has
<meta http-equiv="content-type" content="text/html; charset=utf-8">
interval. The size calculated in memset is right,<br>
but the image size is just twice as big as it.<br>
Use clEnqueueWriteImage is safe and I will fix it later.<br>
<br>
<div class="moz-cite-prefix">On 2015年02月04日 07:11, Rebecca N. Palmer
wrote:<br>
</div>
<blockquote cite="mid:54D155A3.70809@zoho.com" type="cite">
<blockquote type="cite">Both [3.18 kernel] and the 3.16 kernel
have a different intermittent failure I have
<br>
yet to investigate:
<br>
<br>
compiler_fill_image_1d_array() [FAILED]
<br>
Error: dst[j*w + i] == 0
<br>
at file
<br>
/home/rnpalmer/Debian/builds/stackbuild/beignet/utests/compiler_fill_image_1d_array.cpp,
<br>
function compiler_fill_image_1d_array, line 63
<br>
</blockquote>
<br>
The kernel itself (fill j<7,i<32 with 0x03020100) is working
correctly; the problem is that the initial memset() clear (line
30) sometimes only clears half the array (exactly half, i.e.
j<4 is filled with 0, but the rest is left at whatever it was
before).
<br>
<br>
_______________________________________________
<br>
Beignet mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Beignet@lists.freedesktop.org">Beignet@lists.freedesktop.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/beignet">http://lists.freedesktop.org/mailman/listinfo/beignet</a>
<br>
</blockquote>
<br>
</body>
</html>