|
docc 0.8.3 (0d44999b)
C++ API Reference
|
CPU parallel schedule type with OpenMP support. More...
#include <sdfg/targets/omp/schedule.h>
Static Public Member Functions | |
| static void | num_threads (structured_control_flow::ScheduleType &schedule, const symbolic::Expression num_threads) |
| Set the number of threads for parallel execution. | |
| static const symbolic::Expression | num_threads (const structured_control_flow::ScheduleType &schedule) |
| Get the number of threads. | |
| static void | omp_schedule (structured_control_flow::ScheduleType &schedule, const OpenMPSchedule schedule_type) |
| Set the OpenMP scheduling strategy. | |
| static OpenMPSchedule | omp_schedule (const structured_control_flow::ScheduleType &schedule) |
| Get the OpenMP scheduling strategy. | |
| static const std::string | value () |
| static structured_control_flow::ScheduleType | create () |
CPU parallel schedule type with OpenMP support.
Indicates that loop iterations can execute in parallel on CPU threads using OpenMP directives. Supports configuration of:
|
inlinestatic |
|
inlinestatic |
Get the number of threads.
| schedule | Schedule to query |
|
inlinestatic |
Set the number of threads for parallel execution.
| schedule | Schedule to configure |
| num_threads | Symbolic expression for number of threads |
|
inlinestatic |
Get the OpenMP scheduling strategy.
| schedule | Schedule to query |
|
inlinestatic |
Set the OpenMP scheduling strategy.
| schedule | Schedule to configure |
| schedule_type | OpenMP scheduling strategy |
|
inlinestatic |