/freebsd-src/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_affinity.cpp | 2 * kmp_affinity.cpp -- affinity management 67 __kmp_get_affinity_env_var(const kmp_affinity_t &affinity, in __kmp_get_affinity_env_var() argument 69 if (affinity.flags.omp_places) { in __kmp_get_affinity_env_var() 74 return affinity.env_var; in __kmp_get_affinity_env_var() 80 // The test below is true if affinity is available, but set to "none". Need to in __kmp_get_hierarchy() 189 // If affinity is supported, check the affinity 851 void kmp_topology_t::set_granularity(kmp_affinity_t &affinity) const { in set_granularity() 852 const char *env_var = __kmp_get_affinity_env_var(affinity); in set_granularity() 857 if (affinity in set_granularity() 3595 __kmp_create_os_id_masks(unsigned * numUnique,kmp_affinity_t & affinity,FindNextFunctionType find_next) __kmp_create_os_id_masks() argument 3731 __kmp_affinity_process_proclist(kmp_affinity_t & affinity) __kmp_affinity_process_proclist() argument 3942 __kmp_process_subplace_list(const char ** scan,kmp_affinity_t & affinity,int maxOsId,kmp_affin_mask_t * tempMask,int * setSize) __kmp_process_subplace_list() argument 4060 __kmp_process_place(const char ** scan,kmp_affinity_t & affinity,int maxOsId,kmp_affin_mask_t * tempMask,int * setSize) __kmp_process_place() argument 4096 __kmp_affinity_process_placelist(kmp_affinity_t & affinity) __kmp_affinity_process_placelist() argument 4363 __kmp_affinity_get_topology_info(kmp_affinity_t & affinity) __kmp_affinity_get_topology_info() argument 4408 __kmp_aux_affinity_initialize_other_data(kmp_affinity_t & affinity) __kmp_aux_affinity_initialize_other_data() argument 4421 __kmp_create_affinity_none_places(kmp_affinity_t & affinity) __kmp_create_affinity_none_places() argument 4432 __kmp_aux_affinity_initialize_masks(kmp_affinity_t & affinity) __kmp_aux_affinity_initialize_masks() argument 4499 __kmp_aux_affinity_initialize_topology(kmp_affinity_t & affinity) __kmp_aux_affinity_initialize_topology() argument 4663 __kmp_aux_affinity_initialize(kmp_affinity_t & affinity) __kmp_aux_affinity_initialize() argument 4906 __kmp_affinity_initialize(kmp_affinity_t & affinity) __kmp_affinity_initialize() argument 4977 __kmp_select_mask_by_gtid(int gtid,const kmp_affinity_t * affinity,int * place,kmp_affin_mask_t ** mask) __kmp_select_mask_by_gtid() argument 5020 const kmp_affinity_t *affinity; __kmp_affinity_set_init_mask() local 5091 const kmp_affinity_t *affinity; __kmp_affinity_bind_init_mask() local [all...] |
H A D | kmp_affinity.h | 2 * kmp_affinity.h -- header for affinity management 62 "Illegal get affinity operation when not capable"); in get_system_affinity() 77 "Illegal set affinity operation when not capable"); in set_system_affinity() 93 "Illegal set process affinity operation when not capable"); in set_process_affinity() 151 // Is the system capable of setting/getting this thread's affinity? in determine_capable() 158 // enables affinity according to KMP_AFFINITY_CAPABLE() macro in determine_capable() 161 // indicate that hwloc didn't work and disable affinity in determine_capable() 168 "Illegal set affinity operation when not capable"); in bind_thread() 419 "Illegal get affinity operation when not capable"); in get_system_affinity() 431 "Illegal set affinity operatio in set_system_affinity() 1049 sort_compact(kmp_affinity_t & affinity) sort_compact() argument [all...] |
H A D | kmp_ftn_entry.h | 23 // For affinity format functions 431 /* OpenMP 5.0 affinity format support */ 467 * Set the value of the affinity-format-var ICV on the current device to the 487 * Returns the number of characters required to hold the entire affinity format 489 * affinity-format-var ICV on the current device to buffer. If the return value 490 * is larger than size, the affinity format specification is truncated. 511 * Prints the thread affinity information of the current thread in the format 513 * string, the value of the affinity-format-var ICV is used. 538 * Returns the number of characters required to hold the entire affinity format 539 * specification (not including null byte) and prints the thread affinity [all …]
|
H A D | kmp_settings.cpp | 2434 #endif /* KMP_GROUP AFFINITY */ in __kmp_parse_affinity_env() 2629 // Warn about unused parts of hidden helper affinity settings if specified. in __kmp_stg_parse_hh_affinity() 2639 const kmp_affinity_t &affinity) { in __kmp_print_affinity_env() argument 2640 bool is_hh_affinity = (&affinity == &__kmp_hh_affinity); in __kmp_print_affinity_env() 2646 if (affinity.flags.verbose) { in __kmp_print_affinity_env() 2651 if (affinity.flags.warnings) { in __kmp_print_affinity_env() 2657 // Hidden helper affinity does not affect global reset in __kmp_print_affinity_env() 2660 if (affinity.flags.respect) { in __kmp_print_affinity_env() 2665 if (affinity.flags.reset) { in __kmp_print_affinity_env() 2672 if (affinity in __kmp_print_affinity_env() 6089 __kmp_print_affinity_settings(const kmp_affinity_t * affinity) __kmp_print_affinity_settings() argument 6493 for (const kmp_affinity_t *affinity : __kmp_affinities) __kmp_env_initialize() local [all...] |
/freebsd-src/lib/libomp/ |
H A D | kmp_i18n_default.inc | 180 "%1$s: proclist not specified with explicit affinity type, using \"none\".", 181 "%1$s: proclist specified, setting affinity type to \"explicit\".", 182 "%1$s: proclist specified without \"explicit\" affinity type, proclist ignored.", 183 "%1$s: syntax error, not using affinity.", 184 "%1$s: range error (zero stride), not using affinity.", 185 "%1$s: range error (%2$d > %3$d), not using affinity.", 186 "%1$s: range error (%2$d < %3$d & stride < 0), not using affinity.", 187 "%1$s: range error ((%2$d-%3$d)/%4$d too big), not using affinity.", 189 "%1$s: affinity not supported, using \"disabled\".", 190 "%1$s: affinity onl [all...] |
/freebsd-src/contrib/llvm-project/llvm/lib/Support/Windows/ |
H A D | Threading.inc | 131 uint64_t Affinity; 190 G.Affinity = El.GroupInfo[J].ActiveProcessorMask; 216 // If there's an affinity mask set, assume the user wants to constrain the 218 // possible for affinity masks to cross CPU group boundaries. 225 // The process affinity mask is spurious, due to an OS bug, ignore it. 230 "When an affinity mask is set, the process is expected to be " 235 NewG.Affinity = ProcessAffinityMask; 275 // Only one CPU socket in the system or process affinity was set, no need to 307 GROUP_AFFINITY Affinity{}; 308 Affinity.Group = Groups[*Socket].ID; [all …]
|
/freebsd-src/contrib/llvm-project/openmp/runtime/src/i18n/ |
H A D | en_US.txt | 159 # Aff -- Affinity messages. 225 AffNoProcList "%1$s: proclist not specified with explicit affinity type, using \"non… 226 AffProcListNoType "%1$s: proclist specified, setting affinity type to \"explicit\"." 227 AffProcListNotExplicit "%1$s: proclist specified without \"explicit\" affinity type, proclist… 228 AffSyntaxError "%1$s: syntax error, not using affinity." 229 AffZeroStride "%1$s: range error (zero stride), not using affinity." 230 AffStartGreaterEnd "%1$s: range error (%2$d > %3$d), not using affinity." 231 AffStrideLessZero "%1$s: range error (%2$d < %3$d & stride < 0), not using affinity." 232 AffRangeTooBig "%1$s: range error ((%2$d-%3$d)/%4$d too big), not using affinity." 234 AffNotSupported "%1$s: affinity not supported, using \"disabled\"." [all …]
|
/freebsd-src/sys/contrib/device-tree/Bindings/interrupt-controller/ |
H A D | apple,aic.yaml | 21 - Per-IRQ affinity setting 89 FIQ affinity can be expressed as a single "affinities" node, 91 affinity. 93 "^.+-affinity$": 100 the affinity is not the default.
|
H A D | apple,aic2.yaml | 79 FIQ affinity can be expressed as a single "affinities" node, 81 affinity. 83 "^.+-affinity$": 90 the affinity is not the default.
|
H A D | arm,gic-v3.yaml | 43 If the system requires describing PPI affinity, then the value must 144 PPI affinity can be expressed as a single "ppi-partitions" node, 151 affinity: 160 - affinity 301 affinity = <&cpu0>, <&cpu2>; 305 affinity = <&cpu1>, <&cpu3>;
|
/freebsd-src/sys/arm/arm/ |
H A D | pmu_fdt.c | 124 has_affinity = OF_hasprop(node, "interrupt-affinity"); in pmu_parse_intr() 131 ncpus = OF_getencprop_alloc_multi(node, "interrupt-affinity", in pmu_parse_intr() 135 "Cannot read interrupt affinity property\n"); in pmu_parse_intr() 155 "Per CPU interupt have declared affinity\n"); in pmu_parse_intr() 169 device_printf(dev, "Cannot parse affinity for CPUid: 0\n"); in pmu_parse_intr() 189 "affinity property\n"); in pmu_parse_intr() 198 "Cannot parse affinity for CPUid: %d.\n", i); in pmu_parse_intr()
|
/freebsd-src/cddl/contrib/opensolaris/cmd/dtrace/test/tst/i86xpv/xdt/ |
H A D | tst.schedargs.ksh | 73 split($7, affinity, ",") 74 for (i in affinity) { 75 if (split(affinity[i], p, "-") > 1) { 83 affinity[i]] = 1
|
/freebsd-src/share/man/man3/ |
H A D | pthread_np.3 | 65 Get the CPU affinity of a specified thread. 107 Set the CPU affinity of a specified thread. 168 Get the CPU affinity mask from the thread attribute object. 175 Set the CPU affinity mask for the thread attribute object.
|
/freebsd-src/contrib/llvm-project/llvm/lib/Support/Unix/ |
H A D | Threading.inc | 335 // one processor id enabled by the CPU affinity mask. 336 cpu_set_t Affinity, Enabled; 337 if (sched_getaffinity(0, sizeof(Affinity), &Affinity) != 0) 371 if (CPU_ISSET(CurProcessor, &Affinity)) 383 cpu_set_t Affinity; 384 if (sched_getaffinity(0, sizeof(Affinity), &Affinity) == 0) 385 return CPU_COUNT(&Affinity); 387 // The call to sched_getaffinity() may have failed because the Affinity [all...] |
/freebsd-src/lib/libsys/ |
H A D | cpuset.2 | 34 .Nd manage CPU affinity sets 218 /* Set affinity for the CPU set for the current process. */ 225 process, and its affinity similarly configured. 227 the affinity of the set. 245 /* Set affinity for the CPU set for the current process. */
|
/freebsd-src/sys/contrib/device-tree/Bindings/arm/ |
H A D | pmu.yaml | 82 interrupt-affinity: 88 nodes corresponding directly to the affinity of 96 the interrupt-affinity property shouldn't be present).
|
/freebsd-src/sys/contrib/device-tree/src/arm64/apple/ |
H A D | t6001.dtsi | 52 e-core-pmu-affinity { 57 p-core-pmu-affinity {
|
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | Threading.h | 119 // taking the affinity mask into account. If set, this value only represents 133 /// accounts for affinity masks and takes advantage of all CPU sockets. 182 /// are to be used, except for those initially excluded by an affinity mask. 183 /// This function takes affinity into consideration. Returns 1 when LLVM is
|
/freebsd-src/sys/contrib/dev/acpica/include/ |
H A D | actbl3.h | 175 #define ACPI_SIG_SRAT "SRAT" /* System Resource Affinity Table */ 336 * SRAT - System Resource Affinity Table 368 /* 0: Processor Local APIC/SAPIC Affinity */ 384 #define ACPI_SRAT_CPU_USE_AFFINITY (1) /* 00: Use affinity structure */ 387 /* 1: Memory Affinity */ 404 #define ACPI_SRAT_MEM_ENABLED (1) /* 00: Use affinity structure */ 409 /* 2: Processor Local X2_APIC Affinity (ACPI 4.0) */ 425 #define ACPI_SRAT_CPU_ENABLED (1) /* 00: Use affinity structure */ 428 /* 3: GICC Affinity (ACPI 5.1) */ 442 #define ACPI_SRAT_GICC_ENABLED (1) /* 00: Use affinity structur [all...] |
/freebsd-src/sys/contrib/xen/ |
H A D | sched.h | 123 * Override the current vcpu affinity by pinning it to one physical cpu or 124 * undo this override restoring the previous affinity. 128 * previous cpu affinity.
|
/freebsd-src/sys/net/ |
H A D | netisr.h | 62 * Protocol ordering and affinity policy constants. See the detailed 144 * Protocols express ordering constraints and affinity preferences by 182 #define NETISR_CPUID_NONE ((u_int)-1) /* No affinity returned. */
|
H A D | rss_config.c | 54 * effective affinity with exactly one CPU. 168 uint8_t rte_cpu; /* CPU affinity of bucket. */ 346 * netisr CPU affinity lookup given just the hash and hashtype. 388 * netisr CPU affinity lookup routine for use by protocols.
|
/freebsd-src/sys/contrib/device-tree/src/arm/samsung/ |
H A D | exynos5422-cpus.dtsi | 163 interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>; 168 interrupt-affinity = <&cpu4>, <&cpu5>, <&cpu6>, <&cpu7>;
|
H A D | exynos5420-cpus.dtsi | 156 interrupt-affinity = <&cpu4>, <&cpu5>, <&cpu6>, <&cpu7>; 161 interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
|
/freebsd-src/contrib/llvm-project/openmp/runtime/src/include/ |
H A D | omp.h.var | 268 /* Intel affinity API */ 280 /* OpenMP 4.0 affinity API */ 291 /* OpenMP 4.5 affinity API */ 460 /* OpenMP 5.0 Affinity Format */
|