OpenCALTeam / opencal

OpenCAL, the Open Computing Abstraction Layer Domain Specific Language for Structured Grid Meshes
GNU Lesser General Public License v3.0
13 stars 1 forks source link

OpenCAL-OMP schedule policy is not parametrized #26

Open alessioderango opened 8 years ago

alessioderango commented 8 years ago

Scheduling policy must be specified by the user (cmake or other mechamism).

knotman90 commented 8 years ago

It can be easily done by specifying the environment variable (https://msdn.microsoft.com/en-us/library/wxdty0df(v=vs.80).aspx)

OMP_SCHEDULE=<schedule,chunk>

To be fair a lor of the openMp behaviour can be changed by environment variables. Check this out: https://gcc.gnu.org/onlinedocs/libgomp/Environment-Variables.html

Suggest to mark this as closed.