LLVM OpenMP 20.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.
Functions | |
static int | compare_hw_subset_places (const place_list_t *openmp_places, topology_obj_type_t type, int nsockets, int ncores_per_socket, int nthreads_per_core) |
static int | check_places () |
int | main () |
|
static |
Definition at line 48 of file kmp-hw-subset.c.
References buf, compare_hw_subset_places(), place_list_t::num_places, status, topology_alloc_openmp_places(), topology_alloc_type_places(), topology_free_places(), TOPOLOGY_OBJ_CORE, TOPOLOGY_OBJ_SOCKET, TOPOLOGY_OBJ_THREAD, type, and value.
Referenced by main().
|
static |
Definition at line 15 of file kmp-hw-subset.c.
References affinity_mask_count(), count, i, j, place_list_t::masks, place_list_t::num_places, TOPOLOGY_OBJ_CORE, TOPOLOGY_OBJ_THREAD, topology_print_places(), and type.
Referenced by check_places().
Definition at line 126 of file kmp-hw-subset.c.
References check_places(), and topology_using_full_mask().