<div dir="ltr">On 28 October 2013 12:47, safety0ff <span dir="ltr"><<a href="mailto:safety0ff.dev@gmail.com" target="_blank">safety0ff.dev@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Monday, 28 October 2013 at 02:30:53 UTC, Manu wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
GPU's also tend to deal with strict alignments of various buffers.<br>
<br>
SIMD requires >= 16byte alignment, which is higher than the default 4-8<br>
byte alignment of many allocators.<br>
</blockquote>
<br></div>
AFAIK the alignments for those cases are known a priori, the question was regarding alignments that are only known at runtime.<br>
</blockquote></div><br></div><div class="gmail_extra">You don't know the runtime GPU at compile time.</div></div>