Does it mean that code like below is illegal?
- Code: Select all
#pragma omp parallel sections reducton(+:k)
{
#pragma omp section
{
// blah blah
}
#pragma omp section
{
#pragma omp task shared(k)
{
k = ...
}
#pragma omp taskwait
}
}
Thanks!
-- Bin
#pragma omp parallel sections reducton(+:k)
{
#pragma omp section
{
// blah blah
}
#pragma omp section
{
#pragma omp task shared(k)
{
k = ...
}
#pragma omp taskwait
}
}
Return to OpenMP 3.0 API Specifications
Users browsing this forum: No registered users and 2 guests