News for hackers. Stuff that matters.
Re:CUDA Pro Tip: Optimize for Pointer Aliasing by DannyBee on Friday August 22, 2014 @02:43PM (#8213370)
In this specific case you will get into trouble if you expect the compiler to be able to reorder loads, and it doesn't.

IE you will get into performance trouble :)

In general, there are some complicated scope related cases where you will get into trouble (the rules deal with "based on" and "scope" all over the place, and not in ways that always make sense).

There are no comments on this comment yet.