09-04-2017, 05:35 AM
Thanks! Your clarification with an example of local memory use was particularly helpful.
My bug was due to the fact that i put the if (gid >= gid_max) return; statement before memory initialization. I assumed that if it was going to return early, why bother setting up the memory at all.
My bug was due to the fact that i put the if (gid >= gid_max) return; statement before memory initialization. I assumed that if it was going to return early, why bother setting up the memory at all.