[Omp] data scope clause
Patricia Bittencourt Sampaio
patricourt at yahoo.com.br
Wed Apr 27 10:13:44 PDT 2005
Hi,
I'm a lit bit confused about the properties of
data scope clauses. If I have something like this:
#pragma omp parallel private(x, y, z)
{
int id;
id = omp_get_thread_num();
x = 2+id;
k_routine(x, y, z);
}
In this example, will the variables(x, y and z)
become shared at k_routine() or the clause make them
persist as private even inside k_routine?
Best regards,
Patricia Bittencourt Sampaio
====================================
Federal University of Rio de Janeiro
Yahoo! Acesso Grátis - Internet rápida e grátis.
Instale o discador agora! http://br.acesso.yahoo.com/
More information about the Omp
mailing list