OpenMP Tutorial学习笔记(11)OpenMP指令和子句的总结

OpenMP Tutorial:https://computing.llnl.gov/tutorials/openMP/#ClausesDirectives

(1)下面是哪些指令能接受哪些子句的表格:

Clause Directive
PARALLEL DO/for SECTIONS SINGLE PARALLEL 
DO/for
PARALLEL 
SECTIONS
IF      
PRIVATE
SHARED    
DEFAULT      
FIRSTPRIVATE
LASTPRIVATE    
REDUCTION  
COPYIN      
COPYPRIVATE          
SCHEDULE        
ORDERED        
NOWAIT      
(2)下面的OpenMP指令不接受任何子句:

MASTER
CRITICAL
BARRIER
ATOMIC
FLUSH
ORDERED
THREADPRIVATE

你可能感兴趣的:(OpenMP Tutorial学习笔记(11)OpenMP指令和子句的总结)