Re:CUDA Pro Tip: Optimize for Pointer Aliasing
by noahl on Friday August 22, 2014 @12:18PM
(#8212732)
I believe the Fortran standard requires that all function arguments point to non-overlapping pieces of memory. Therefore, the compiler can assume that pointers don't alias when compiling.
If you choose to pass arguments that do alias to a function, that becomes your problem.
If you choose to pass arguments that do alias to a function, that becomes your problem.