19 fprintf(stderr,
"error: places do not have same number of places! (p1 has "
22 printf(
"p1 places:\n");
25 printf(
"p2 places:\n");
38 printf(
"Found difference in places!\n");
39 printf(
"p1 places:\n");
42 printf(
"p2 places:\n");
52 const char *
value = getenv(
"OMP_PLACES");
54 fprintf(stderr,
"error: must set OMP_PLACES envirable for this test!\n");
58 if (strcmp(
value,
"sockets") == 0) {
60 }
else if (strcmp(
value,
"cores") == 0) {
62 }
else if (strcmp(
value,
"threads") == 0) {
66 "error: OMP_PLACES must be one of threads,cores,sockets!\n");
78 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 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)
static int compare_places(const place_list_t *p1, const place_list_t *p2)
static int check_places()