|
LLVM OpenMP 22.0.0git
|
#include <stdio.h>#include <stdlib.h>#include <string.h>#include "libomp_test_affinity.h"#include "libomp_test_topology.h"Go to the source code of this file.
Macros | |
| #define | _GNU_SOURCE |
| #define | _STR(X) |
| #define | STR(X) |
| #define | MAX_NTEAMS 256 |
Functions | |
| static void | set_default_max_nteams () |
| static int | get_max_nteams () |
| static omp_proc_bind_t | get_teams_proc_bind () |
| int | main (int argc, char **argv) |
| #define _GNU_SOURCE |
Definition at line 16 of file teams-affinity.c.
| #define _STR | ( | X | ) |
Definition at line 24 of file teams-affinity.c.
| #define MAX_NTEAMS 256 |
Definition at line 28 of file teams-affinity.c.
Referenced by get_max_nteams(), and set_default_max_nteams().
| #define STR | ( | X | ) |
Definition at line 25 of file teams-affinity.c.
Referenced by set_default_max_nteams().
|
static |
Definition at line 36 of file teams-affinity.c.
References MAX_NTEAMS, and value.
Referenced by main().
|
static |
Definition at line 72 of file teams-affinity.c.
References get_max_nteams(), get_teams_proc_bind(), i, j, place_list_t::num_places, proc_bind_check(), set_default_max_nteams(), topology_alloc_openmp_partition(), topology_alloc_openmp_places(), and topology_free_places().
|
static |
Definition at line 31 of file teams-affinity.c.
References MAX_NTEAMS, and STR.
Referenced by main().