|
LLVM OpenMP 22.0.0git
|
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <omp.h>Go to the source code of this file.
Macros | |
| #define | XSTR(x) |
| #define | STR(x) |
| #define | streqls(s1, s2) |
| #define | check(condition) |
| #define | DEBUG 0 |
| #define | BUFFER_SIZE 1024 |
Functions | |
| static int | debug_printf (const char *format,...) |
| static void | display_affinity_environment () |
| void | list_to_ids (const char *affinity, int *ids, int ids_size) |
| void | check_thread_affinity () |
| int | main (int argc, char **argv) |
Variables | |
| char | buf [BUFFER_SIZE] |
| #define BUFFER_SIZE 1024 |
Definition at line 32 of file affinity_values.c.
Referenced by __kmp_aux_capture_affinity_field(), get_integer(), get_string(), get_string(), and main().
| #define check | ( | condition | ) |
Definition at line 19 of file affinity_values.c.
Referenced by check_thread_affinity().
| #define DEBUG 0 |
Definition at line 26 of file affinity_values.c.
| #define STR | ( | x | ) |
Definition at line 15 of file affinity_values.c.
| #define streqls | ( | s1, | |
| s2 ) |
Definition at line 17 of file affinity_values.c.
| #define XSTR | ( | x | ) |
Definition at line 14 of file affinity_values.c.
| void check_thread_affinity | ( | ) |
Definition at line 92 of file affinity_values.c.
References buf, check, debug_printf(), i, j, list_to_ids(), omp_capture_affinity, omp_get_num_threads(), and omp_set_affinity_format.
Referenced by main().
Definition at line 37 of file affinity_values.c.
References args.
Referenced by check_thread_affinity().
|
static |
Definition at line 48 of file affinity_values.c.
Referenced by main().
Definition at line 60 of file affinity_values.c.
Referenced by check_thread_affinity().
Definition at line 130 of file affinity_values.c.
References check_thread_affinity(), display_affinity_environment(), and omp_set_nested.
| char buf[BUFFER_SIZE] |
Definition at line 34 of file affinity_values.c.
Referenced by ___kmp_env_blk_parse_string(), __kmp_aux_capture_affinity_field(), __kmp_aux_display_affinity(), __kmp_dispatch_next(), __kmp_is_address_mapped(), __kmp_match_str(), __kmp_parse_nested_num_threads(), __kmp_stg_parse_allocator(), __kmp_stg_parse_blocktime(), __kmp_stg_parse_int(), __kmp_stg_parse_proc_bind(), __kmp_stg_parse_size(), __kmp_stg_parse_spin_backoff_params(), __kmp_stg_print_hw_subset(), __kmp_stg_print_num_threads(), __kmp_str_buf_print_size(), __kmp_str_token(), __kmp_wait_64(), affinity_mask_snprintf(), check_places(), check_places(), check_thread_affinity(), get_integer(), get_string(), get_string(), hideSymbols(), main(), main(), main(), ompt_try_start_tool(), place_and_affinity_match(), kmp_topology_t::print(), thread_func(), topology_alloc_type_places(), topology_get_num_cpus(), and topology_print_places().