omp task description

General OpenMP discussion

omp task description

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

Hi,

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?
Thanks.

*inout defines that parameters are read and write.
afzalmd
 
Posts: 1
Joined: Wed Nov 30, 2011 10:57 am

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.
MarkB
 
Posts: 422
Joined: Thu Jan 08, 2009 10:12 am


Return to Using OpenMP

Who is online

Users browsing this forum: Google [Bot] and 13 guests

cron