I'm learning unified parallel C for a high performance computing course.
Can someone please explain why it's "not recommended" to have a shared pointer to local memory?
The only reason I can think of is having a dangling pointer.
Please see the reference images:
[
Sources: http://hpac.rwth-aachen.de/teaching/sem-lsc-13/UPC.pdf http://www.cs.fsu.edu/~engelen/courses/HPC/Languages.pdf