<div dir="ltr"><div>Note: I have tested all of these with the 32-bit signed integer data type for scalar kernels only... r600g chokes on almost anything else due to a missing vload/vstore implementation and buggy/incomplete handling of char/short/long data types in CL kernels.<br>
<br></div>--Aaron<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Mar 14, 2013 at 10:01 PM, Aaron Watry <span dir="ltr"><<a href="mailto:awatry@gmail.com" target="_blank">awatry@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This series depends on the one-off patch I just sent to add max().<br>
<br>
1) Fix the broken abs_diff integer built-in.<br>
2) Add clamp for both integer and floating types in a new shared/ dir in order<br>
   to reduce code duplication and improve maintainability.<br>
3) Move the max() function into the shared/ directory.<br>
<br>
</blockquote></div><br></div>