[Omp] default combinned with shared clause

Dieter an Mey anmey at rz.rwth-aachen.de
Fri Aug 5 06:16:22 PDT 2005


Yes, shared is the default.

regards
Dieter

Patricia Bittencourt Sampaio wrote:

>  Hello,
> 
>    I've got a benchmark where there is the subsequent
> line:
> 
> #pragma omp parallel default(shared) private(i)
> shared(key_buff_ptr,key_buff_ptr2)
> 
>    I just wanted to have sure if the shared clause is
> redundant in this case, because of the
> "default(shared)" existence.
> 
> Regards,
> 
> 
> 
> Patrícia 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/
> 
> _______________________________________________
> Omp mailing list
> Omp at openmp.org
> http://openmp.org/mailman/listinfo/omp_openmp.org
> 


-- 
--------------------------------------------------------------------
Dieter an Mey
High Performance Computing               Hochleistungsrechnen
RWTH Aachen University                   Rechen- und Kommunikations-
Center for Computing and Communication   zentrum der RWTH Aachen
phone: ++49-(0)241-80-24377              Seffenter Weg 23
fax:   ++49-(0)241-80-22134              52074 Aachen, Germany
email: anmey at rz.rwth-aachen.de
--------------------------------------------------------------------






More information about the Omp mailing list