omp task description

General OpenMP discussion

omp task description

Postby afzalmd » Thu Dec 01, 2011 7:28 am


I have code in StarSs with directive #pragma css task inout(parameters). I want to develop it in OMP.
How I can implement inout implementation in OMP?

*inout defines that parameters are read and write.

Re: omp task description

Postby MarkB » Fri Feb 17, 2012 10:19 am

Unfortunately you cannot simply translate your StarSs code into OpenMP: there is no way to specify data dependencies between OpenMP tasks.
You will need to use other ways of synchronising/scheduling your computation so as to respect the dependencies.
Posts: 746
Joined: Thu Jan 08, 2009 10:12 am
Location: EPCC, University of Edinburgh

Return to Using OpenMP

Who is online

Users browsing this forum: Yahoo [Bot] and 4 guests