News for hackers. Stuff that matters.
Re:CUDA Pro Tip: Optimize for Pointer Aliasing by readerrrr on Friday August 22, 2014 @01:37PM (#8213078)
You may not alias incompatible types. In the example every type passed in the function is the same. Float. Those types are compatible( every type is to itself ) and may alias. Therefore the need to use restrict.

There are no comments on this comment yet.