about gang and worker 's privation

I would like to ask about OpenACC parallel construct ,in the private clause ,if the variable is privated in the gang, is each worker in the gang privated as well?

Hi Telsalady,

If you use the “private” clause on a parallel directive, then the variable will be private for each “gang” but shared amongst the workers and vectors.

Hope this helps,