25 printf(
"Found place in p1 not in p2!\n");
26 printf(
"p1 places:\n");
29 printf(
"p2 places:\n");
39 const char *
value = getenv(
"KMP_AFFINITY");
41 fprintf(stderr,
"error: must set OMP_PLACES envirable for this test!\n");
45 if (strstr(
value,
"socket")) {
47 }
else if (strstr(
value,
"core")) {
49 }
else if (strstr(
value,
"thread")) {
54 "error: KMP_AFFINITY granularity must be one of thread,core,socket!\n");
66 printf(
"Thread does not have access to all logical processors. Skipping "
void const char const char int ITT_FORMAT __itt_group_sync x void const char ITT_FORMAT __itt_group_sync s void ITT_FORMAT __itt_group_sync p void ITT_FORMAT p void ITT_FORMAT p no args __itt_suppress_mode_t unsigned int void size_t ITT_FORMAT d void ITT_FORMAT p void ITT_FORMAT p __itt_model_site __itt_model_site_instance ITT_FORMAT p __itt_model_task __itt_model_task_instance ITT_FORMAT p void ITT_FORMAT p void ITT_FORMAT p void size_t ITT_FORMAT d void ITT_FORMAT p const wchar_t ITT_FORMAT s const char ITT_FORMAT s const char ITT_FORMAT s const char ITT_FORMAT s no args void ITT_FORMAT p size_t ITT_FORMAT d no args const wchar_t const wchar_t ITT_FORMAT s __itt_heap_function void size_t int ITT_FORMAT d __itt_heap_function void ITT_FORMAT p __itt_heap_function void void size_t int ITT_FORMAT d no args no args unsigned int ITT_FORMAT u const __itt_domain __itt_id ITT_FORMAT lu const __itt_domain __itt_id __itt_id __itt_string_handle ITT_FORMAT p const __itt_domain __itt_id ITT_FORMAT p const __itt_domain __itt_id __itt_timestamp __itt_timestamp ITT_FORMAT lu const __itt_domain __itt_id __itt_id __itt_string_handle ITT_FORMAT p const __itt_domain ITT_FORMAT p const __itt_domain __itt_string_handle unsigned long long value
static int compare_places(const place_list_t *p1, const place_list_t *p2)
static int check_places()
static volatile kmp_i18n_cat_status_t status
static int affinity_mask_equal(const affinity_mask_t *mask1, const affinity_mask_t *mask2)
static void topology_print_places(const place_list_t *p)
static place_list_t * topology_alloc_openmp_places()
static place_list_t * topology_alloc_type_places(topology_obj_type_t type)
static int topology_using_full_mask()
static void topology_free_places(place_list_t *places)