Lines Matching defs:affinity
2629 // Warn about unused parts of hidden helper affinity settings if specified.
2639 const kmp_affinity_t &affinity) {
2640 bool is_hh_affinity = (&affinity == &__kmp_hh_affinity);
2646 if (affinity.flags.verbose) {
2651 if (affinity.flags.warnings) {
2657 // Hidden helper affinity does not affect global reset
2660 if (affinity.flags.respect) {
2665 if (affinity.flags.reset) {
2672 if (affinity.flags.core_types_gran)
2674 else if (affinity.flags.core_effs_gran) {
2678 buffer, "%s,", __kmp_hw_get_keyword(affinity.gran, /*plural=*/false));
2684 int compact = affinity.compact;
2685 int offset = affinity.offset;
2686 switch (affinity.type) {
2703 __kmp_str_buf_print(buffer, "%s=[%s],%s", "proclist", affinity.proclist,
3437 // teams-bind = false means "replicate the primary thread's affinity"
6083 static void __kmp_print_affinity_settings(const kmp_affinity_t *affinity) {
6084 K_DIAG(1, ("%s:\n", affinity->env_var));
6085 K_DIAG(1, (" type : %d\n", affinity->type));
6086 K_DIAG(1, (" compact : %d\n", affinity->compact));
6087 K_DIAG(1, (" offset : %d\n", affinity->offset));
6088 K_DIAG(1, (" verbose : %u\n", affinity->flags.verbose));
6089 K_DIAG(1, (" warnings : %u\n", affinity->flags.warnings));
6090 K_DIAG(1, (" respect : %u\n", affinity->flags.respect));
6091 K_DIAG(1, (" reset : %u\n", affinity->flags.reset));
6092 K_DIAG(1, (" dups : %u\n", affinity->flags.dups));
6093 K_DIAG(1, (" gran : %d\n", (int)affinity->gran));
6094 KMP_DEBUG_ASSERT(affinity->type != affinity_default);
6174 // Special case. KMP_AFFINITY is not a rival to other affinity env vars
6175 // if no affinity type is specified. We want to allow
6177 // specifying the affinity type via GOMP_CPU_AFFINITY or the OMP 4.0
6178 // affinity mechanism.
6185 // KMP_AFFINITY env var is such that none of the affinity
6208 // A new affinity type is specified.
6209 // Reset the affinity flags to their default values,
6218 // Also reset the affinity flags if OMP_PROC_BIND is specified.
6242 // default proc bind is false if affinity not supported
6247 // Set up the affinity format ICV
6248 // Grab the default affinity format string from the message catalog
6309 // affinity.
6313 // If Hwloc topology discovery was requested but affinity was also disabled,
6350 // This checks to see if the initial affinity mask is equal
6352 // not respect the initial affinity mask and instead, use the
6358 // Get the initial affinity mask and determine if it is
6365 // If the initial affinity is within a single group,
6378 // Handle the Win 64 group affinity stuff if there are multiple
6380 // affinity is not in effect.
6384 // Do not respect the initial processor affinity mask if it is assigned
6392 // Use compact affinity with anticipation of pinning to at least the
6476 // If affinity is disabled, then still need to assign topology method
6477 // to attempt machine detection and affinity types
6487 for (const kmp_affinity_t *affinity : __kmp_affinities)
6488 __kmp_print_affinity_settings(affinity);