OMP_SCHEDULE
Modifies the behavior of the schedule clause when schedule(runtime) is specified in a for or parallel for directive.
set OMP_SCHEDULE[=type[,size]]
Заметки
where,
size (optional)
Specifies the size of iterations. size must be a positive integer. The default is 1, except when type is static. Not valid when type is runtime.type
The kind of scheduling:dynamic
guided
runtime
static
Заметки
The default value in the Visual C++ implementation of the OpenMP standard is OMP_SCHEDULE=static,0.
For more information, see 4.1 OMP_SCHEDULE.
Пример
The following command sets the OMP_SCHEDULE environment variable:
set OMP_SCHEDULE="guided,2"
The following command displays the current setting of the OMP_SCHEDULE environment variable:
set OMP_SCHEDULE