Skip to content

Appendix A.1: Implemented ABI Surface

All implementations in ghc_omp_runtime_rts.c

Core Parallel: GOMP_parallel, GOMP_parallel_start, GOMP_parallel_end, GOMP_barrier

Synchronization: GOMP_critical_start, GOMP_critical_end, GOMP_critical_name_start, GOMP_critical_name_end, GOMP_atomic_start, GOMP_atomic_end, GOMP_single_start, GOMP_single_copy_start, GOMP_single_copy_end, GOMP_ordered_start, GOMP_ordered_end

Worksharing Loops: GOMP_loop_static_start, GOMP_loop_static_next, GOMP_loop_dynamic_start, GOMP_loop_dynamic_next, GOMP_loop_guided_start, GOMP_loop_guided_next, GOMP_loop_runtime_start, GOMP_loop_runtime_next, GOMP_loop_start, GOMP_loop_end, GOMP_loop_end_nowait, GOMP_loop_nonmonotonic_dynamic_start, GOMP_loop_nonmonotonic_dynamic_next, GOMP_loop_nonmonotonic_guided_start, GOMP_loop_nonmonotonic_guided_next, GOMP_parallel_loop_static, GOMP_parallel_loop_dynamic, GOMP_parallel_loop_guided, GOMP_parallel_loop_runtime, GOMP_parallel_loop_nonmonotonic_dynamic, GOMP_parallel_loop_nonmonotonic_guided

Tasks: GOMP_task, GOMP_taskwait, GOMP_taskyield, GOMP_taskgroup_start, GOMP_taskgroup_end

Sections: GOMP_sections_start, GOMP_sections_next, GOMP_sections_end, GOMP_sections_end_nowait, GOMP_parallel_sections

Cancellation & Teams: GOMP_cancel, GOMP_cancellation_point, GOMP_barrier_cancel, GOMP_loop_end_cancel, GOMP_sections_end_cancel, GOMP_teams_reg

omp_* User API: omp_get_num_threads, omp_get_thread_num, omp_get_max_threads, omp_get_num_procs, omp_set_num_threads, omp_in_parallel, omp_set_dynamic, omp_get_dynamic, omp_set_nested, omp_get_nested, omp_get_wtime, omp_get_wtick, omp_init_lock, omp_destroy_lock, omp_set_lock, omp_unset_lock, omp_test_lock, omp_init_nest_lock, omp_destroy_nest_lock, omp_set_nest_lock, omp_unset_nest_lock, omp_test_nest_lock, omp_get_level, omp_get_active_level, omp_get_ancestor_thread_num, omp_get_team_size, omp_get_thread_limit, omp_set_max_active_levels, omp_get_max_active_levels, omp_get_supported_active_levels, omp_set_schedule, omp_get_schedule, omp_in_final, omp_get_cancellation, omp_get_proc_bind, omp_get_num_places, omp_get_place_num, omp_get_default_device, omp_set_default_device, omp_get_num_devices, omp_get_num_teams, omp_get_team_num, omp_is_initial_device, omp_get_initial_device, omp_get_max_task_priority