StarPU Handbook

Data Structures | Macros | Enumerations
starpu_openmp.h File Reference
`#include <starpu_config.h>`

Go to the source code of this file.

## Data Structures
struct | starpu_omp_lock_t
struct | starpu_omp_nest_lock_t
struct | starpu_omp_parallel_region_attr
struct | starpu_omp_task_region_attr

## Macros
#define | __STARPU_OMP_NOTHROW

## Enumerations
enum | starpu_omp_sched_value { starpu_omp_sched_undefined , starpu_omp_sched_static , starpu_omp_sched_dynamic , starpu_omp_sched_guided , starpu_omp_sched_auto , starpu_omp_sched_runtime }
enum | starpu_omp_proc_bind_value { starpu_omp_proc_bind_undefined , starpu_omp_proc_bind_false , starpu_omp_proc_bind_true , starpu_omp_proc_bind_master , starpu_omp_proc_bind_close , starpu_omp_proc_bind_spread }

## Functions
Initialisation
int | starpu_omp_init (void) __STARPU_OMP_NOTHROW
void | starpu_omp_shutdown (void) __STARPU_OMP_NOTHROW
Parallel
void | starpu_omp_parallel_region (const struct starpu_omp_parallel_region_attr *attr) __STARPU_OMP_NOTHROW
void | starpu_omp_master (void(*f)(void *arg), void *arg) __STARPU_OMP_NOTHROW
int | starpu_omp_master_inline (void) __STARPU_OMP_NOTHROW
Synchronization
void | starpu_omp_barrier (void) __STARPU_OMP_NOTHROW
void | starpu_omp_critical (void(*f)(void *arg), void *arg, const char *name) __STARPU_OMP_NOTHROW
void | starpu_omp_critical_inline_begin (const char *name) __STARPU_OMP_NOTHROW
void | starpu_omp_critical_inline_end (const char *name) __STARPU_OMP_NOTHROW
Worksharing
void | starpu_omp_single (void(*f)(void *arg), void *arg, int nowait) __STARPU_OMP_NOTHROW
int | starpu_omp_single_inline (void) __STARPU_OMP_NOTHROW
void | starpu_omp_single_copyprivate (void(*f)(void *arg, void *data, unsigned long long data_size), void *arg, void *data, unsigned long long data_size) __STARPU_OMP_NOTHROW
void * | starpu_omp_single_copyprivate_inline_begin (void *data) __STARPU_OMP_NOTHROW
void | starpu_omp_single_copyprivate_inline_end (void) __STARPU_OMP_NOTHROW
void | starpu_omp_for (void(*f)(unsigned long long _first_i, unsigned long long _nb_i, void *arg), void *arg, unsigned long long nb_iterations, unsigned long long chunk, int schedule, int ordered, int nowait) __STARPU_OMP_NOTHROW
int | starpu_omp_for_inline_first (unsigned long long nb_iterations, unsigned long long chunk, int schedule, int ordered, unsigned long long *_first_i, unsigned long long *_nb_i) __STARPU_OMP_NOTHROW
int | starpu_omp_for_inline_next (unsigned long long nb_iterations, unsigned long long chunk, int schedule, int ordered, unsigned long long *_first_i, unsigned long long *_nb_i) __STARPU_OMP_NOTHROW
void | starpu_omp_for_alt (void(*f)(unsigned long long _begin_i, unsigned long long _end_i, void *arg), void *arg, unsigned long long nb_iterations, unsigned long long chunk, int schedule, int ordered, int nowait) __STARPU_OMP_NOTHROW
int | starpu_omp_for_inline_first_alt (unsigned long long nb_iterations, unsigned long long chunk, int schedule, int ordered, unsigned long long *_begin_i, unsigned long long *_end_i) __STARPU_OMP_NOTHROW
int | starpu_omp_for_inline_next_alt (unsigned long long nb_iterations, unsigned long long chunk, int schedule, int ordered, unsigned long long *_begin_i, unsigned long long *_end_i) __STARPU_OMP_NOTHROW
void | starpu_omp_ordered (void(*f)(void *arg), void *arg) __STARPU_OMP_NOTHROW
void | starpu_omp_ordered_inline_begin (void) __STARPU_OMP_NOTHROW
void | starpu_omp_ordered_inline_end (void) __STARPU_OMP_NOTHROW
void | starpu_omp_sections (unsigned long long nb_sections, void(**section_f)(void *arg), void **section_arg, int nowait) __STARPU_OMP_NOTHROW
void | starpu_omp_sections_combined (unsigned long long nb_sections, void(*section_f)(unsigned long long section_num, void *arg), void *section_arg, int nowait) __STARPU_OMP_NOTHROW
Task
void | starpu_omp_task_region (const struct starpu_omp_task_region_attr *attr) __STARPU_OMP_NOTHROW
void | starpu_omp_taskwait (void) __STARPU_OMP_NOTHROW
void | starpu_omp_taskgroup (void(*f)(void *arg), void *arg) __STARPU_OMP_NOTHROW
void | starpu_omp_taskgroup_inline_begin (void) __STARPU_OMP_NOTHROW
void | starpu_omp_taskgroup_inline_end (void) __STARPU_OMP_NOTHROW
void | starpu_omp_taskloop_inline_begin (struct starpu_omp_task_region_attr *attr) __STARPU_OMP_NOTHROW
void | starpu_omp_taskloop_inline_end (const struct starpu_omp_task_region_attr *attr) __STARPU_OMP_NOTHROW
API
void | starpu_omp_set_num_threads (int threads) __STARPU_OMP_NOTHROW
int | starpu_omp_get_num_threads () __STARPU_OMP_NOTHROW
int | starpu_omp_get_thread_num () __STARPU_OMP_NOTHROW
int | starpu_omp_get_max_threads () __STARPU_OMP_NOTHROW
int | starpu_omp_get_num_procs (void) __STARPU_OMP_NOTHROW
int | starpu_omp_in_parallel (void) __STARPU_OMP_NOTHROW
void | starpu_omp_set_dynamic (int dynamic_threads) __STARPU_OMP_NOTHROW
int | starpu_omp_get_dynamic (void) __STARPU_OMP_NOTHROW
void | starpu_omp_set_nested (int nested) __STARPU_OMP_NOTHROW
int | starpu_omp_get_nested (void) __STARPU_OMP_NOTHROW
int | starpu_omp_get_cancellation (void) __STARPU_OMP_NOTHROW
void | starpu_omp_set_schedule (enum starpu_omp_sched_value kind, int modifier) __STARPU_OMP_NOTHROW
void | starpu_omp_get_schedule (enum starpu_omp_sched_value *kind, int *modifier) __STARPU_OMP_NOTHROW
int | starpu_omp_get_thread_limit (void) __STARPU_OMP_NOTHROW
void | starpu_omp_set_max_active_levels (int max_levels) __STARPU_OMP_NOTHROW
int | starpu_omp_get_max_active_levels (void) __STARPU_OMP_NOTHROW
int | starpu_omp_get_level (void) __STARPU_OMP_NOTHROW
int | starpu_omp_get_ancestor_thread_num (int level) __STARPU_OMP_NOTHROW
int | starpu_omp_get_team_size (int level) __STARPU_OMP_NOTHROW
int | starpu_omp_get_active_level (void) __STARPU_OMP_NOTHROW
int | starpu_omp_in_final (void) __STARPU_OMP_NOTHROW
enum starpu_omp_proc_bind_value | starpu_omp_get_proc_bind (void) __STARPU_OMP_NOTHROW
int | starpu_omp_get_num_places (void) __STARPU_OMP_NOTHROW
int | starpu_omp_get_place_num_procs (int place_num) __STARPU_OMP_NOTHROW
void | starpu_omp_get_place_proc_ids (int place_num, int *ids) __STARPU_OMP_NOTHROW
int | starpu_omp_get_place_num (void) __STARPU_OMP_NOTHROW
int | starpu_omp_get_partition_num_places (void) __STARPU_OMP_NOTHROW
void | starpu_omp_get_partition_place_nums (int *place_nums) __STARPU_OMP_NOTHROW
void | starpu_omp_set_default_device (int device_num) __STARPU_OMP_NOTHROW
int | starpu_omp_get_default_device (void) __STARPU_OMP_NOTHROW
int | starpu_omp_get_num_devices (void) __STARPU_OMP_NOTHROW
int | starpu_omp_get_num_teams (void) __STARPU_OMP_NOTHROW
int | starpu_omp_get_team_num (void) __STARPU_OMP_NOTHROW
int | starpu_omp_is_initial_device (void) __STARPU_OMP_NOTHROW
int | starpu_omp_get_initial_device (void) __STARPU_OMP_NOTHROW
int | starpu_omp_get_max_task_priority (void) __STARPU_OMP_NOTHROW
void | starpu_omp_init_lock (starpu_omp_lock_t *lock) __STARPU_OMP_NOTHROW
void | starpu_omp_destroy_lock (starpu_omp_lock_t *lock) __STARPU_OMP_NOTHROW
void | starpu_omp_set_lock (starpu_omp_lock_t *lock) __STARPU_OMP_NOTHROW
void | starpu_omp_unset_lock (starpu_omp_lock_t *lock) __STARPU_OMP_NOTHROW
int | starpu_omp_test_lock (starpu_omp_lock_t *lock) __STARPU_OMP_NOTHROW
void | starpu_omp_init_nest_lock (starpu_omp_nest_lock_t *lock) __STARPU_OMP_NOTHROW
void | starpu_omp_destroy_nest_lock (starpu_omp_nest_lock_t *lock) __STARPU_OMP_NOTHROW
void | starpu_omp_set_nest_lock (starpu_omp_nest_lock_t *lock) __STARPU_OMP_NOTHROW
void | starpu_omp_unset_nest_lock (starpu_omp_nest_lock_t *lock) __STARPU_OMP_NOTHROW
int | starpu_omp_test_nest_lock (starpu_omp_nest_lock_t *lock) __STARPU_OMP_NOTHROW
void | starpu_omp_atomic_fallback_inline_begin (void) __STARPU_OMP_NOTHROW
void | starpu_omp_atomic_fallback_inline_end (void) __STARPU_OMP_NOTHROW
double | starpu_omp_get_wtime (void) __STARPU_OMP_NOTHROW
double | starpu_omp_get_wtick (void) __STARPU_OMP_NOTHROW
void | starpu_omp_vector_annotate (starpu_data_handle_t handle, uint32_t slice_base) __STARPU_OMP_NOTHROW
struct starpu_arbiter * | starpu_omp_get_default_arbiter (void) __STARPU_OMP_NOTHROW