LLVM OpenMP 20.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) #x |
#define | STR(x) XSTR(x) |
#define | streqls(s1, s2) (!strcmp(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.
#define check | ( | condition | ) |
Definition at line 19 of file affinity_values.c.
#define DEBUG 0 |
Definition at line 26 of file affinity_values.c.
#define STR | ( | x | ) | XSTR(x) |
Definition at line 15 of file affinity_values.c.
#define streqls | ( | s1, | |
s2 | |||
) | (!strcmp(s1, s2)) |
Definition at line 17 of file affinity_values.c.
#define XSTR | ( | x | ) | #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(), _rstream::_rstream(), affinity_mask_snprintf(), check_places(), check_thread_affinity(), ConvertedString::ConvertedString(), ConvertedString::get(), get_integer(), get_string(), hideSymbols(), main(), ompt_try_start_tool(), place_and_affinity_match(), kmp_topology_t::print(), rstream::rstream(), thread_func(), topology_alloc_type_places(), topology_get_num_cpus(), topology_print_places(), _rstream::~_rstream(), and ConvertedString::~ConvertedString().