Home
last modified time | relevance | path

Searched full:cpu (Results 1 – 25 of 5413) sorted by relevance

12345678910>>...217

/third_party/ltp/testcases/kernel/hotplug/cpu_hotplug/include/
Dcpuhotplug_hotplug.sh20 # migrate_irq(CPU, IRQS)
23 # CPU number
27 CPU=${1#cpu}
28 MASK=$((1<<${CPU}))
39 # Echos the CPU affinity for the given process ID to stdout
48 # set_affinity(PID, CPU)
50 # Sets the affinity for the given PID to the specified CPU.
55 CPU="$2"
61 # online_cpu(CPU)
63 # Onlines the given CPU. Returns a true value if it was able
[all …]
/third_party/protobuf/csharp/src/
DGoogle.Protobuf.sln21 Debug|Any CPU = Debug|Any CPU
22 Release|Any CPU = Release|Any CPU
25 {AFB63919-1E05-43B4-802A-8FB8C9B2F463}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
26 {AFB63919-1E05-43B4-802A-8FB8C9B2F463}.Debug|Any CPU.Build.0 = Debug|Any CPU
27 {AFB63919-1E05-43B4-802A-8FB8C9B2F463}.Release|Any CPU.ActiveCfg = Release|Any CPU
28 {AFB63919-1E05-43B4-802A-8FB8C9B2F463}.Release|Any CPU.Build.0 = Release|Any CPU
29 {9B576380-726D-4142-8238-60A43AB0E35A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
30 {9B576380-726D-4142-8238-60A43AB0E35A}.Debug|Any CPU.Build.0 = Debug|Any CPU
31 {9B576380-726D-4142-8238-60A43AB0E35A}.Release|Any CPU.ActiveCfg = Release|Any CPU
32 {9B576380-726D-4142-8238-60A43AB0E35A}.Release|Any CPU.Build.0 = Release|Any CPU
[all …]
/third_party/mesa3d/src/broadcom/common/
Dv3d_cpu_tiling.h31 v3d_load_utile(void *cpu, uint32_t cpu_stride, in v3d_load_utile() argument
41 /* Store each 8-byte line to cpu-side destination, in v3d_load_utile()
44 "vst1.8 d0, [%[cpu]], %[cpu_stride]\n" in v3d_load_utile()
45 "vst1.8 d1, [%[cpu]], %[cpu_stride]\n" in v3d_load_utile()
46 "vst1.8 d2, [%[cpu]], %[cpu_stride]\n" in v3d_load_utile()
47 "vst1.8 d3, [%[cpu]], %[cpu_stride]\n" in v3d_load_utile()
48 "vst1.8 d4, [%[cpu]], %[cpu_stride]\n" in v3d_load_utile()
49 "vst1.8 d5, [%[cpu]], %[cpu_stride]\n" in v3d_load_utile()
50 "vst1.8 d6, [%[cpu]], %[cpu_stride]\n" in v3d_load_utile()
51 "vst1.8 d7, [%[cpu]]\n" in v3d_load_utile()
[all …]
/third_party/ltp/testcases/kernel/hotplug/cpu_hotplug/functional/
Dcpuhotplug01.sh26 usage: $0 -c cpu -l loop -n timeon -f timeoff -e timed
29 -c cpu which is specified for testing
31 -n time delay after an online of cpu
32 -f time delay after offline of cpu
48 # Restore CPU states
53 # do_offline(CPU)
55 # Migrates some irq's onto the CPU, then offlines it
59 CPU=${1#cpu}
62 migrate_irq "${CPU}" "${IRQS}"
63 offline_cpu ${CPU}
[all …]
Dcpuhotplug05.sh18 Desc: Does sar behave properly during CPU hotplug events?
25 usage: $0 -c cpu -l loop -d directory
28 -c cpu which is specified for testing
40 tst_brkm TBROK "CPU${CPU_TO_TEST} cannot be onlined"
67 tst_brkm TCONF "Microsoft Hyper-V detected, no support for CPU hotplug"
71 tst_brkm TCONF "system doesn't have required CPU hotplug support"
75 tst_brkm TBROK "usage: ${0##*} <CPU to offline>"
78 # Validate the specified CPU is available
80 tst_brkm TCONF "cpu${CPU_TO_TEST} doesn't support hotplug"
83 # Check that the specified CPU is offline; if not, offline it
[all …]
Dcpuhotplug02.sh17 Desc: What happens to a process when its CPU is offlined?
24 usage: $0 -c cpu -l loop
27 -c cpu which is specified for testing
58 tst_brkm TCONF "Microsoft Hyper-V detected, no support for CPU hotplug"
62 tst_brkm TCONF "system doesn't have required CPU hotplug support"
66 tst_brkm TBROK "usage: ${0##*/} <CPU to online>"
69 # Validate the specified CPU is available
71 tst_brkm TCONF "cpu${CPU_TO_TEST} doesn't support hotplug"
74 # Validate the specified CPU is online; if not, online it
77 tst_brkm TBROK "CPU${CPU_TO_TEST} cannot be onlined"
[all …]
Dcpuhotplug03.sh17 Desc: Do tasks get scheduled to a newly on-lined CPU?
24 usage: $0 -c cpu -l loop
27 -c cpu which is specified for testing
49 # Restore CPU states
67 tst_brkm TCONF "Microsoft Hyper-V detected, no support for CPU hotplug"
72 tst_brkm TCONF "system doesn't have required CPU hotplug support"
76 tst_brkm TBROK "usage: ${0##*} <CPU to online>"
79 # Validate the specified CPU is available
81 tst_brkm TCONF "cpu${CPU_TO_TEST} doesn't support hotplug"
94 tst_brkm TBROK "Could not online cpu $i"
[all …]
Dcpuhotplug07.sh27 usage: $0 -c cpu -l loop -d directory
30 -c cpu which is specified for testing
59 tst_brkm TCONF "Microsoft Hyper-V detected, no support for CPU hotplug"
63 tst_brkm TCONF "system doesn't have required CPU hotplug support"
71 tst_brkm TBROK "usage: ${0##*/} <CPU to offline> <Kernel \
75 # Validate the specified CPU is available
77 tst_brkm TCONF "cpu${CPU_TO_TEST} doesn't support hotplug"
82 tst_brkm TBROK "CPU${CPU_TO_TEST} cannot be onlined"
91 tst_resm TINFO "initial CPU affinity for kernel compile is: \
100 # Move spin_loop.sh to the CPU to offline.
[all …]
/third_party/mindspore/mindspore-src/source/.jenkins/check/config/
Dwhitelizard.txt76 mindspore/mindspore/lite/src/litert/kernel/cpu/base/quant_dtype_cast.cc:mindspore::kernel::QuantDTy…
77 mindspore/mindspore/lite/src/litert/kernel/cpu/base/quant_dtype_cast.cc:mindspore::kernel::QuantDTy…
78 mindspore/mindspore/ccsrc/plugin/device/cpu/kernel/nnacl/infer/strided_slice_infer.c:StridedSliceIn…
79 mindspore/mindspore/ccsrc/plugin/device/cpu/kernel/nnacl/infer/lstm_infer.c:CheckInputShapeValid
80 mindspore/mindspore/ccsrc/plugin/device/cpu/kernel/nnacl/fp16/winograd_transform_fp16.c:WinogradInp…
81 mindspore/mindspore/ccsrc/plugin/device/cpu/kernel/nnacl/fp16/pooling_fp16.c:AvgPoolingFp16
82 mindspore/mindspore/ccsrc/plugin/device/cpu/kernel/nnacl/fp16/pooling_fp16.c:MaxPoolingFp16
83 mindspore/mindspore/ccsrc/plugin/device/cpu/kernel/nnacl/fp16/winograd_utils_fp16.c:OutputTransform…
84 mindspore/mindspore/ccsrc/plugin/device/cpu/kernel/nnacl/fp16/winograd_utils_fp16.c:OutputTransform…
85 mindspore/mindspore/ccsrc/plugin/device/cpu/kernel/nnacl/fp16/winograd_utils_fp16.c:OutputTransform…
[all …]
/third_party/rust/crates/rustix/src/backend/libc/process/
Dcpu_set.rs7 pub(crate) fn CPU_SET(cpu: usize, cpuset: &mut RawCpuSet) { in CPU_SET()
9 cpu < CPU_SETSIZE, in CPU_SET()
10 "cpu out of bounds: the cpu max is {} but the cpu is {}", in CPU_SET()
12 cpu in CPU_SET()
14 unsafe { c::CPU_SET(cpu, cpuset) } in CPU_SET()
23 pub(crate) fn CPU_CLR(cpu: usize, cpuset: &mut RawCpuSet) { in CPU_CLR()
25 cpu < CPU_SETSIZE, in CPU_CLR()
26 "cpu out of bounds: the cpu max is {} but the cpu is {}", in CPU_CLR()
28 cpu in CPU_CLR()
30 unsafe { c::CPU_CLR(cpu, cpuset) } in CPU_CLR()
[all …]
/third_party/libevdev/build-aux/
Dconfig.sub41 # and recognize all the CPU types, system types and aliases
65 Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS
660 # Here we handle the default manufacturer of certain CPU types. It is in
663 cpu=hppa1.1
667 cpu=hppa1.1
671 cpu=hppa1.1
675 cpu=i370
679 cpu=clipper
683 cpu=m68k
687 cpu=powerpc
[all …]
/third_party/curl/
Dconfig.sub41 # and recognize all the CPU types, system types and aliases
65 Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS
660 # Here we handle the default manufacturer of certain CPU types. It is in
663 cpu=hppa1.1
667 cpu=hppa1.1
671 cpu=hppa1.1
675 cpu=i370
679 cpu=clipper
683 cpu=m68k
687 cpu=powerpc
[all …]
/third_party/icu/icu4c/source/
Dconfig.sub41 # and recognize all the CPU types, system types and aliases
65 Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS
660 # Here we handle the default manufacturer of certain CPU types. It is in
663 cpu=hppa1.1
667 cpu=hppa1.1
671 cpu=hppa1.1
675 cpu=i370
679 cpu=clipper
683 cpu=m68k
687 cpu=powerpc
[all …]
/third_party/python/
Dconfig.sub41 # and recognize all the CPU types, system types and aliases
65 Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS
660 # Here we handle the default manufacturer of certain CPU types. It is in
663 cpu=hppa1.1
667 cpu=hppa1.1
671 cpu=hppa1.1
675 cpu=i370
679 cpu=clipper
683 cpu=m68k
687 cpu=powerpc
[all …]
/third_party/ltp/testcases/kernel/power_management/
Drunpwtests03.sh31 for cpu in $(seq 0 "${total_cpus}" )
33 cpufiles=$(find /sys/devices/system/cpu/cpu"${cpu}"/cpufreq/ \
45 echo "${0}: PASS: Checking cpu freq sysfs files"
56 for cpu in $(seq 0 "${total_cpus}" )
61 /sys/devices/system/cpu/cpu${cpu}/cpufreq/scaling_governor
64 "governor -- ${govr} for cpu${cpu}"
70 echo "${0}: PASS: Changing cpu governors"
84 for cpu in $(seq 0 "${total_cpus}" )
87 /sys/devices/system/cpu/cpu${cpu}/cpufreq/scaling_governor
93 for cpu in $(seq 0 "${total_cpus}" )
[all …]
Dpm_include.sh40 for cpu in $(seq 0 "${total_cpus}" )
42 cpus[$cpu]=cpu${cpu}
43 phyid[$cpu]=$(cat \
44 /sys/devices/system/cpu/cpu${cpu}/topology/physical_package_id)
51 echo "${cpus[$j]} -P ${cpus[$k]}" | sed -e "s/cpu//g"
61 for cpu in $(seq 0 "${total_cpus}" )
63 if [ ! -d /sys/devices/system/cpu/cpu${cpu}/cpufreq ] ; then
72 cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_available_frequencies \
77 cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_available_governors \
83 cpu_cores=`grep "cpu cores" /proc/cpuinfo | uniq | cut -f2 -d':'`
[all …]
/third_party/ltp/testcases/open_posix_testsuite/include/
Daffinity.h31 static int set_affinity(int cpu) in set_affinity() argument
36 CPU_SET(cpu, &mask); in set_affinity()
44 int cpu = -1; in get_online_cpu_from_sysfs() local
46 f = fopen("/sys/devices/system/cpu/online", "r"); in get_online_cpu_from_sysfs()
49 if (!fscanf(f, "%d", &cpu)) in get_online_cpu_from_sysfs()
50 cpu = -1; in get_online_cpu_from_sysfs()
53 return cpu; in get_online_cpu_from_sysfs()
59 int cpu = -1; in get_online_cpu_from_cpuinfo() local
75 if (sscanf(line, "processor%*[^0123456789]%d", &cpu) == 1) in get_online_cpu_from_cpuinfo()
80 return cpu; in get_online_cpu_from_cpuinfo()
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/hal/
D_cpu.py16 """Hal cpu interfaces."""
23 Hal cpu interfaces.
26 super(_HalCPU, self).__init__("CPU")
30 Return CPU device count. Always return 1 for CPU.
36 Get CPU capability of the specified device id. Not implemented for CPU.
38 logger.warning("'get_device_capability' for CPU is not implemented. Return None.")
42 Get CPU properties of the specified device id. Not implemented for CPU.
44 logger.warning("'get_device_properties' for CPU is not implemented. Return None.")
48 Get CPU name of the specified device id. Always return "CPU".
50 return "CPU"
[all …]
/third_party/ltp/testcases/kernel/hotplug/cpu_hotplug/doc/
Dhotplug01.txt4 This test attempts to verify that when a CPU is offlined, that a process
6 to disk, force it to run only on a specified CPU by setting its CPU
7 affinity to just that CPU, then offline that CPU, and verify that the
14 There are two kinds of masks: One to specify which CPU's are allowed
19 of some parallelized benchmark before and after onlining the CPU.
24 Given a CPU to test that exists
28 Make sure the cpu is online
35 Foreach CPU in the system
36 online the CPU
40 Foreach CPU in the system
[all …]
/third_party/ltp/testcases/kernel/power_management/lib/
Dpm_sched_mc.py38 ''' Returns number of cpu's in system
48 print("Could not get cpu count", e)
52 ''' Returns number of cpu's in system
58 phy_pkg_file = '/sys/devices/system/cpu/cpu%s' % i
88 if line.startswith('cpu cores'):
109 if line.startswith('cpu cores'):
131 ''' Return number of threads in CPU. For eg for x3950 this function
132 would return 2. In future if 4 threads are supported in CPU, this
140 if line.startswith('cpu cores'):
149 ''' Routine to map physical package id to cpu id
[all …]
/third_party/benchmark/docs/
Dreducing_variance.md3 <a name="disabling-cpu-frequency-scaling" />
5 ## Disabling CPU Frequency Scaling
10 ***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will in…
13 you might want to disable the CPU frequency scaling while running the
46 The Linux CPU frequency governor [discussed
47 above](user_guide#disabling-cpu-frequency-scaling) is not the only source
51 1. On multi-core machines not all CPUs/CPU cores/CPU threads run the same
53 different result depending on which CPU it ran on.
54 2. CPU scaling features that run on the CPU, like Intel's Turbo Boost and
55 AMD Turbo Core and Precision Boost, can temporarily change the CPU
[all …]
/third_party/lzma/CS/7zip/Compress/LzmaAlone/
DLzmaAlone.sln8 Debug|Any CPU = Debug|Any CPU
9 Release|Any CPU = Release|Any CPU
12 {CE33DF18-F9C8-4D6F-9057-DBB4DB96E973}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
13 {CE33DF18-F9C8-4D6F-9057-DBB4DB96E973}.Debug|Any CPU.Build.0 = Debug|Any CPU
14 {CE33DF18-F9C8-4D6F-9057-DBB4DB96E973}.Release|Any CPU.ActiveCfg = Release|Any CPU
15 {CE33DF18-F9C8-4D6F-9057-DBB4DB96E973}.Release|Any CPU.Build.0 = Release|Any CPU
/third_party/zlib/contrib/nuget/
Dnuget.sln10 Debug|Any CPU = Debug|Any CPU
11 Release|Any CPU = Release|Any CPU
17 {B1BD3984-EF8F-4E9D-9A94-EB784E5EB1E8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
18 {B1BD3984-EF8F-4E9D-9A94-EB784E5EB1E8}.Debug|Any CPU.Build.0 = Debug|Any CPU
19 {B1BD3984-EF8F-4E9D-9A94-EB784E5EB1E8}.Release|Any CPU.ActiveCfg = Release|Any CPU
20 {B1BD3984-EF8F-4E9D-9A94-EB784E5EB1E8}.Release|Any CPU.Build.0 = Release|Any CPU
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/ops/operations/
D_sequence_ops.py28 … This primitive only have 'CPU' implementation, for other platform, it runs using heterogeneous.
43 ``Ascend`` ``GPU`` ``CPU``
57 … This primitive only have 'CPU' implementation, for other platform, it runs using heterogeneous.
73 ``Ascend`` ``GPU`` ``CPU``
87 … This primitive only have 'CPU' implementation, for other platform, it runs using heterogeneous.
100 ``Ascend`` ``GPU`` ``CPU``
114 … This primitive only have 'CPU' implementation, for other platform, it runs using heterogeneous.
127 ``Ascend`` ``GPU`` ``CPU``
141 … This primitive only have 'CPU' implementation, for other platform, it runs using heterogeneous.
153 ``Ascend`` ``GPU`` ``CPU``
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCSubtargetInfo.cpp105 // Determine the length of the longest CPU and Feature entries. in Help()
109 // Print the CPU table. in Help()
111 for (auto &CPU : CPUTable) in Help() local
112 errs() << format(" %-*s - Select the %s processor.\n", MaxCPULen, CPU.Key, in Help()
113 CPU.Key); in Help()
137 // Print the CPU table. in cpuHelp()
139 for (auto &CPU : CPUTable) in cpuHelp() local
140 errs() << "\t" << CPU.Key << "\n"; in cpuHelp()
150 static FeatureBitset getFeatures(StringRef CPU, StringRef FS, in getFeatures() argument
159 "CPU table is not sorted"); in getFeatures()
[all …]

12345678910>>...217