Home
last modified time | relevance | path

Searched full:affinity (Results 1 – 25 of 321) sorted by relevance

12345678910>>...13

/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_affinity.cpp2 * 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.core_attr_gran.valid) { in set_granularity()
861 affinity, AffIgnoringNonHybrid, env_var, in set_granularity()
[all …]
H A Dkmp_affinity.h2 * 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 operation when not capable"); in set_system_affinity()
[all …]
H A Dkmp_ftn_entry.h23 // For affinity format functions
431 /* OpenMP 5.0 affinity format support */ in __kmp_fortran_strncpy_truncate()
467 * Set the value of the affinity-format-var ICV on the current device to the in KMP_EXPAND_NAME_IF_APPEND()
487 * Returns the number of characters required to hold the entire affinity format in KMP_EXPAND_NAME_IF_APPEND()
489 * affinity-format-var ICV on the current device to buffer. If the return value in KMP_EXPAND_NAME_IF_APPEND()
490 * is larger than size, the affinity format specification is truncated. in KMP_EXPAND_NAME_IF_APPEND()
511 * Prints the thread affinity information of the current thread in the format in KMP_EXPAND_NAME_IF_APPEND()
513 * string, the value of the affinity-format-var ICV is used. in KMP_EXPAND_NAME_IF_APPEND()
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 Dkmp_settings.cpp2434 #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.flags.core_types_gran) in __kmp_print_affinity_env()
[all …]
/freebsd/lib/libomp/
H A Dkmp_i18n_default.inc180 "%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 only supported for Intel(R) Architecture Processors.",
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/Windows/
H A DThreading.inc131 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/contrib/llvm-project/openmp/runtime/src/i18n/
H A Den_US.txt159 # Aff -- Affinity messages.
225 AffNoProcList "%1$s: proclist not specified with explicit affinity type, using \"none\"."
226 AffProcListNoType "%1$s: proclist specified, setting affinity type to \"explicit\"."
227 AffProcListNotExplicit "%1$s: proclist specified without \"explicit\" affinity type, proclist ignored."
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 no
[all...]
/freebsd/sys/arm/arm/
H A Dpmu_fdt.c124 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/sys/contrib/device-tree/Bindings/interrupt-controller/
H A Dapple,aic.yaml21 - 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 Dapple,aic2.yaml79 FIQ affinity can be expressed as a single "affinities" node,
81 affinity.
83 "^.+-affinity$":
90 the affinity is not the default.
H A Darm,gic-v3.yaml43 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/cddl/contrib/opensolaris/cmd/dtrace/test/tst/i86xpv/xdt/
H A Dtst.schedargs.ksh73 split($7, affinity, ",")
74 for (i in affinity) {
75 if (split(affinity[i], p, "-") > 1) {
83 affinity[i]] = 1
/freebsd/contrib/llvm-project/llvm/lib/Support/Unix/
H A DThreading.inc335 // 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
/freebsd/share/man/man3/
H A Dpthread_np.365 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/lib/libsys/
H A Dcpuset.234 .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/sys/contrib/device-tree/Bindings/arm/
H A Dpmu.yaml82 interrupt-affinity:
88 nodes corresponding directly to the affinity of
96 the interrupt-affinity property shouldn't be present).
/freebsd/sys/contrib/dev/acpica/include/
H A Dactbl3.h175 #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 structure */
[all …]
/freebsd/sys/contrib/device-tree/src/arm64/apple/
H A Dt6001.dtsi52 e-core-pmu-affinity {
57 p-core-pmu-affinity {
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DThreading.h119 // 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/sys/contrib/xen/
H A Dsched.h123 * 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.
H A Ddomctl.h308 /* Get/set the NUMA node(s) with which the guest has affinity with. */
322 /* Set/get the hard affinity for vcpu */
325 /* Set/get the soft affinity for vcpu */
336 * contain effective hard or/and soft affinity. That is, upon successful
337 * return, cpumap_soft, contains the intersection of the soft affinity,
338 * hard affinity and the cpupool's online CPUs for the domain (if
340 * intersection between hard affinity and the cpupool's online CPUs (if
344 * contain the plain hard and/or soft affinity masks that were set during
/freebsd/sys/net/
H A Dnetisr.h62 * 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. */
/freebsd/sys/contrib/dev/acpica/common/
H A Ddmtbinfo3.c303 * SRAT - System Resource Affinity Table and Subtables
325 /* 0: Processor Local APIC/SAPIC Affinity */
339 /* 1: Memory Affinity */
356 /* 2: Processor Local X2_APIC Affinity (ACPI 4.0) */
370 /* 3: GICC Affinity (ACPI 5.1) */
382 /* 4: GIC ITS Affinity (ACPI 6.2) */
392 /* Common SRAT structure for Generic Affinity Subtables */
404 /* 5: Generic Initiator Affinity Structure (ACPI 6.3) */
412 /* 6: Generic Port Affinity Structure (ACPI 6.4) */
420 /* 7: RINTC Affinity Structure (ACPI 6.6) */
/freebsd/lib/libc/tests/sys/
H A Dcpuset_test.c91 return ("Unexpected post-attach affinity"); in do_jail_errstr()
382 "Test jail attachment effect on affinity with a new base cpuset."); in ATF_TC_HEAD()
397 "Test jail attachment effect on affinity with a new, unmodified base cpuset."); in ATF_TC_HEAD()
428 "Test jail attachment effect on affinity without a new base."); in ATF_TC_HEAD()
449 "Test jail attachment effect on affinity without specialization."); in ATF_TC_HEAD()
/freebsd/sys/fs/nfsserver/
H A Dnfs_fha_new.c61 "NFS File Handle Affinity (FHA)");
66 "Enable NFS File Handle Affinity (FHA)");
289 * This just specifies that offsets should obey affinity when within
328 * We do affinity for most. However, we divide a realm of affinity in fha_extract_info()

12345678910>>...13