Lec6OMPTasks

Example nb nb counts the number of nodes in the b call

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview:   The rules for how the default data- sharing attributes of variables are implicitly determined may not always be obvious. To avoid any surprises, it is recommended that the programmer explicitly scope all variables that are referenced in a task construct using the data sharing attribute clauses, rather than rely on the OpenMP implicit scoping rules. Task Wait !   The TASKWAIT Directive !   The taskwait directive specifies a wait on the completion of...
View Full Document

This note was uploaded on 02/12/2014 for the course CS 475 taught by Professor Staff during the Fall '08 term at Colorado State.

Ask a homework question - tutors are online