std.allocator ready for some abuse

Manu turkeyman at gmail.com
Sun Oct 27 20:22:32 PDT 2013


On 28 October 2013 12:47, safety0ff <safety0ff.dev at gmail.com> wrote:

> On Monday, 28 October 2013 at 02:30:53 UTC, Manu wrote:
>
>> GPU's also tend to deal with strict alignments of various buffers.
>>
>> SIMD requires >= 16byte alignment, which is higher than the default 4-8
>> byte alignment of many allocators.
>>
>
> AFAIK the alignments for those cases are known a priori, the question was
> regarding alignments that are only known at runtime.
>

You don't know the runtime GPU at compile time.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20131028/3a254bcd/attachment.html>


More information about the Digitalmars-d mailing list