<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - private memory overflow in openCL"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102030#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - private memory overflow in openCL"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102030">bug 102030</a>
from <span class="vcard"><a class="email" href="mailto:janpieter.sollie@dommel.be" title="Janpieter Sollie <janpieter.sollie@dommel.be>"> <span class="fn">Janpieter Sollie</span></a>
</span></b>
<pre>I got it running on both pocl and clover. I will attach a working version with
a built_hints.txt file included, which also includes debug information to debug
memory contents.
what I concluded:
- atom_add does not work correctly
- this workaround works, where it should not:
i = ctx->l1;
i+= len << 3;
atom_xchg(&(ctx->l1), i);</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>