Dynamic Load Balance 3.7.0
omptm_omp5.h
Go to the documentation of this file.
1/*********************************************************************************/
2/* Copyright 2009-2024 Barcelona Supercomputing Center */
3/* */
4/* This file is part of the DLB library. */
5/* */
6/* DLB is free software: you can redistribute it and/or modify */
7/* it under the terms of the GNU Lesser General Public License as published by */
8/* the Free Software Foundation, either version 3 of the License, or */
9/* (at your option) any later version. */
10/* */
11/* DLB is distributed in the hope that it will be useful, */
12/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
13/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
14/* GNU Lesser General Public License for more details. */
15/* */
16/* You should have received a copy of the GNU Lesser General Public License */
17/* along with DLB. If not, see <https://www.gnu.org/licenses/>. */
18/*********************************************************************************/
19
20#ifndef OMPTM_OMP5_H
21#define OMPTM_OMP5_H
22
25#include "support/options.h"
26
28
29void omptm_omp5__init(pid_t process_id, const options_t *options);
30void omptm_omp5__finalize(void);
34
38 omptool_parallel_data_t *parallel_data, unsigned int index);
40 omptool_parallel_data_t *parallel_data);
41
43
44/* Functions for testing purposes */
46const cpu_set_t* omptm_omp5_testing__get_active_mask(void);
48void omptm_omp5_testing__set_num_threads_fn(void (*fn)(int));
49
50#endif /* OMPTM_OMP5_H */
void omptm_omp5__into_parallel_implicit_barrier(omptool_parallel_data_t *parallel_data)
Definition: omptm_omp5.c:424
void omptm_omp5__parallel_begin(omptool_parallel_data_t *parallel_data)
Definition: omptm_omp5.c:387
const cpu_set_t * omptm_omp5_testing__get_active_mask(void)
Definition: omptm_omp5.c:461
void omptm_omp5_testing__set_num_threads_fn(void(*fn)(int))
Definition: omptm_omp5.c:471
const array_cpuid_t * omptm_omp5_testing__compute_and_get_cpu_bindings(void)
Definition: omptm_omp5.c:465
void omptm_omp5__IntoBlockingCall(void)
Definition: omptm_omp5.c:357
void omptm_omp5__parallel_end(omptool_parallel_data_t *parallel_data)
Definition: omptm_omp5.c:393
void omptm_omp5__OutOfBlockingCall(void)
Definition: omptm_omp5.c:377
void omptm_omp5__init(pid_t process_id, const options_t *options)
Definition: omptm_omp5.c:257
void omptm_omp5__lend_from_api(void)
Definition: omptm_omp5.c:204
void omptm_omp5__into_parallel_function(omptool_parallel_data_t *parallel_data, unsigned int index)
Definition: omptm_omp5.c:408
void omptm_omp5__finalize(void)
Definition: omptm_omp5.c:348
const omptool_event_funcs_t omptm_omp5_events_vtable
Definition: omptm_omp5.c:437
struct array_cpuid_t array_cpuid_t
Definition: shmem_cpuinfo.h:41
Definition: omptool.h:66
Definition: omptool.h:50
Definition: options.h:30