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_abs_hw_subset_places (const place_list_t *openmp_places, int nthreads, int offset) |
static int | check_places (int nthreads, int offset) |
int | main (int argc, char **argv) |
Definition at line 46 of file kmp-abs-hw-subset.c.
References buf, compare_abs_hw_subset_places(), place_list_t::num_places, status, topology_alloc_openmp_places(), topology_alloc_type_places(), topology_free_places(), TOPOLOGY_OBJ_THREAD, type, and value.
|
static |
Definition at line 23 of file kmp-abs-hw-subset.c.
References affinity_mask_count(), count, i, j, place_list_t::masks, place_list_t::num_places, and topology_print_places().
Referenced by check_places().
Definition at line 82 of file kmp-abs-hw-subset.c.
References check_places(), and topology_using_full_mask().