Home
last modified time | relevance | path

Searched refs:cpu (Results 1 – 25 of 580) sorted by relevance

12345678910>>...24

/third_party/mesa3d/src/broadcom/common/
Dv3d_cpu_tiling.h31 v3d_load_utile(void *cpu, uint32_t cpu_stride, in v3d_load_utile() argument
52 : [cpu] "+r"(cpu) in v3d_load_utile()
58 void *cpu2 = cpu + 8; in v3d_load_utile()
76 : [cpu] "+r"(cpu), in v3d_load_utile()
101 : [cpu] "+r"(cpu) in v3d_load_utile()
107 void *cpu2 = cpu + 8; in v3d_load_utile()
125 : [cpu] "+r"(cpu), in v3d_load_utile()
135 memcpy(cpu, gpu + gpu_offset, gpu_stride); in v3d_load_utile()
136 cpu += cpu_stride; in v3d_load_utile()
142 void *cpu, uint32_t cpu_stride) in v3d_store_utile() argument
[all …]
Dv3d_tiling.c218 void *cpu, uint32_t cpu_stride, in v3d_move_pixels_unaligned() argument
227 void *cpu_row = cpu + y * cpu_stride; in v3d_move_pixels_unaligned()
258 void *cpu, uint32_t cpu_stride, in v3d_move_pixels_general_percpp() argument
280 void *cpu_row = cpu + (y - box->y) * cpu_stride; in v3d_move_pixels_general_percpp()
303 cpu, cpu_stride, in v3d_move_pixels_general_percpp()
342 void *partial_cpu = (cpu + in v3d_move_pixels_general_percpp()
356 void *cpu, uint32_t cpu_stride, in v3d_move_pixels_general() argument
367 cpu, cpu_stride, in v3d_move_pixels_general()
374 cpu, cpu_stride, in v3d_move_pixels_general()
381 cpu, cpu_stride, in v3d_move_pixels_general()
[all …]
/third_party/ltp/testcases/kernel/hotplug/cpu_hotplug/include/
Dcpuhotplug_hotplug.sh72 if [ ! -w /sys/devices/system/cpu/cpu${CPU}/online ]; then
78 $TIME echo 1 > /sys/devices/system/cpu/cpu${CPU}/online
93 if [ ! -w /sys/devices/system/cpu/cpu${CPU}/online ]; then
99 $TIME echo 0 > /sys/devices/system/cpu/cpu${CPU}/online
112 [ -d /sys/devices/system/cpu/cpu0 ] || return -1
113 NUM=`ls /sys/devices/system/cpu/ \
128 [ -d /sys/devices/system/cpu ] || return 1
129 (cd /sys/devices/system/cpu; ls -d cpu[0-9]*)
156 for cpu in $(seq $range_low $range_high); do
157 if [ -e /sys/devices/system/cpu/cpu$cpu ]; then
[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
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()
85 int cpu; in set_affinity_single() local
[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/ \
56 for cpu in $(seq 0 "${total_cpus}" )
61 /sys/devices/system/cpu/cpu${cpu}/cpufreq/scaling_governor
64 "governor -- ${govr} for cpu${cpu}"
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}" )
98 /sys/devices/system/cpu/cpu${cpu}/cpufreq/scaling_setspeed
101 "to set frequency -- ${freq} for cpu${cpu}"
[all …]
Dpm_include.sh47 for cpu in $(seq 0 "${total_cpus}" )
49 cpus[$cpu]=cpu${cpu}
50 phyid[$cpu]=$(cat \
51 /sys/devices/system/cpu/cpu${cpu}/topology/physical_package_id)
68 for cpu in $(seq 0 "${total_cpus}" )
70 if [ ! -d /sys/devices/system/cpu/cpu${cpu}/cpufreq ] ; then
79 cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_available_frequencies \
84 cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_available_governors \
127 /sys/devices/system/cpu/cpu?/topology/physical_package_id \
/third_party/skia/third_party/externals/angle2/infra/config/
Dmain.star203 def angle_builder(name, cpu):
299 category = category + "|" + os_name + "|" + toolchain + "|" + cpu,
389 angle_builder("android-arm-compile", cpu = "arm")
390 angle_builder("android-arm-dbg-compile", cpu = "arm")
391 angle_builder("android-arm64-dbg-compile", cpu = "arm64")
392 angle_builder("android-arm64-test", cpu = "arm64")
393 angle_builder("linux-asan-test", cpu = "x64")
394 angle_builder("linux-tsan-test", cpu = "x64")
395 angle_builder("linux-ubsan-test", cpu = "x64")
396 angle_builder("linux-dbg-compile", cpu = "x64")
[all …]
/third_party/icu/icu4c/source/
Dconfig.sub950 cpu=$basic_machine
956 cpu=i386
960 cpu=x86_64
965 cpu=$basic_machine
973 case $cpu-$vendor in
1018 cpu=xps100
1024 cpu=armv7l
1029 cpu=rs6000
1036 cpu=x86_64
1039 cpu=bfin
[all …]
/third_party/node/deps/cares/
Dconfig.sub950 cpu=$basic_machine
956 cpu=i386
960 cpu=x86_64
965 cpu=$basic_machine
973 case $cpu-$vendor in
1018 cpu=xps100
1024 cpu=armv7l
1029 cpu=rs6000
1036 cpu=x86_64
1039 cpu=bfin
[all …]
/third_party/curl/
Dconfig.sub950 cpu=$basic_machine
956 cpu=i386
960 cpu=x86_64
965 cpu=$basic_machine
973 case $cpu-$vendor in
1018 cpu=xps100
1024 cpu=armv7l
1029 cpu=rs6000
1036 cpu=x86_64
1039 cpu=bfin
[all …]
/third_party/python/
Dconfig.sub950 cpu=$basic_machine
956 cpu=i386
960 cpu=x86_64
965 cpu=$basic_machine
973 case $cpu-$vendor in
1018 cpu=xps100
1024 cpu=rs6000
1031 cpu=x86_64
1034 cpu=bfin
1038 cpu=tic54x
[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()
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()
28 cpu in CPU_CLR()
30 unsafe { c::CPU_CLR(cpu, cpuset) } in CPU_CLR()
34 pub(crate) fn CPU_ISSET(cpu: usize, cpuset: &RawCpuSet) -> bool { in CPU_ISSET()
36 cpu < CPU_SETSIZE, in CPU_ISSET()
[all …]
/third_party/ltp/testcases/kernel/device-drivers/misc_modules/per_cpu_allocator_module/
Dtest_per_cpu_allocator_module.c88 static unsigned long seed_val(unsigned int cmdno, unsigned int cpu) in seed_val() argument
91 + cmdno + (cmdno << 16) + (cpu << 8) + (cpu << 24); in seed_val()
96 unsigned int cpu; in fill_area() local
98 for_each_possible_cpu(cpu) { in fill_area()
99 unsigned long v = seed_val(cmdno, cpu); in fill_area()
100 unsigned long *up = per_cpu_ptr(p, cpu); in fill_area()
113 unsigned int cpu; in verify_area() local
115 for_each_possible_cpu(cpu) { in verify_area()
116 unsigned long v = seed_val(cmdno, cpu); in verify_area()
117 unsigned long *up = per_cpu_ptr(p, cpu); in verify_area()
[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
154 for cpu in $( get_hotplug_cpus ); do
155 if [ "$cpu" = "cpu0" ]; then
158 do_offline $cpu
161 tst_brkm TBROK "offlining $cpu failed: $err"
163 tst_resm TINFO "offlining $cpu was ok"
169 for cpu in $( get_hotplug_cpus ); do
[all …]
/third_party/cef/tools/
Dgn_args.py442 def GetConfigArgs(args, is_debug, cpu): argument
459 'target_cpu': cpu,
462 if platform == 'linux' and not cpu.startswith('arm'):
472 def GetConfigArgsSandbox(platform, args, is_debug, cpu): argument
512 'target_cpu': cpu,
519 def LinuxSysrootExists(cpu): argument
527 if cpu == 'x86':
529 elif cpu == 'x64':
531 elif cpu == 'arm':
533 elif cpu == 'arm64':
[all …]
/third_party/ltp/testcases/kernel/controllers/cpuctl_fj/
Drun_cpuctl_test_fj.sh51 mount -t cgroup -o cpu cpuctl "$CPUCTL" || {
125 shares=`cat $CPUCTL/cpu.shares`
162 shares=`cat $CPUCTL/tmp/cpu.shares`
194 shares=`cat $CPUCTL/tmp/tmp1/cpu.shares`
254 ./cpuctl_fj_simple_echo 2048 $CPUCTL/cpu.shares
260 shares=`cat $CPUCTL/cpu.shares`
272 ./cpuctl_fj_simple_echo -1 $CPUCTL/tmp/cpu.shares
278 shares=`cat $CPUCTL/tmp/cpu.shares`
300 echo 0 > $CPUCTL/tmp/cpu.shares
306 shares=`cat $CPUCTL/tmp/cpu.shares`
[all …]
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_load_balance_test/
Dcpuset_sched_domains_check.c83 unsigned int cpu; in check_sched_domains() local
86 for (cpu = bitmask_first(domains[i]); in check_sched_domains()
87 cpu < bitmask_nbits(domains[i]); in check_sched_domains()
88 cpu = bitmask_next(domains[i], cpu + 1)) { in check_sched_domains()
90 if (cpus[cpu].sched_domain != NULL) { in check_sched_domains()
94 cpus[cpu]. in check_sched_domains()
100 cpu, buf1, buf2); in check_sched_domains()
105 if (!bitmask_equal(domains[i], cpus[cpu].sched_domain)) { in check_sched_domains()
109 cpus[cpu].sched_domain); in check_sched_domains()
112 cpu, buf1, buf2); in check_sched_domains()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_tiling_lt.c131 void *cpu, uint32_t cpu_stride, in vc4_lt_image_aligned() argument
145 v3d_load_utile(cpu + (cpu_stride * y + in vc4_lt_image_aligned()
153 cpu + (cpu_stride * y + in vc4_lt_image_aligned()
171 void *cpu, uint32_t cpu_stride, in vc4_lt_image_unaligned() argument
201 memcpy(cpu + x * cpp, gpu_row + offs_x, cpp); in vc4_lt_image_unaligned()
203 memcpy(gpu_row + offs_x, cpu + x * cpp, cpp); in vc4_lt_image_unaligned()
219 cpu += cpu_stride; in vc4_lt_image_unaligned()
228 void *cpu, uint32_t cpu_stride, in vc4_lt_image_helper() argument
236 cpu, cpu_stride, in vc4_lt_image_helper()
240 cpu, cpu_stride, in vc4_lt_image_helper()
[all …]
/third_party/rust/crates/rustix/src/backend/linux_raw/process/
Dcpu_set.rs7 pub(crate) fn CPU_SET(cpu: usize, cpuset: &mut RawCpuSet) { in CPU_SET()
9 let (idx, offset) = (cpu / size_in_bits, cpu % size_in_bits); in CPU_SET()
22 pub(crate) fn CPU_CLR(cpu: usize, cpuset: &mut RawCpuSet) { in CPU_CLR()
24 let (idx, offset) = (cpu / size_in_bits, cpu % size_in_bits); in CPU_CLR()
29 pub(crate) fn CPU_ISSET(cpu: usize, cpuset: &RawCpuSet) -> bool { in CPU_ISSET()
31 let (idx, offset) = (cpu / size_in_bits, cpu % size_in_bits); in CPU_ISSET()
/third_party/musl/src/sched/
Dsched_getcpu.c13 static long getcpu_init(unsigned *cpu, unsigned *node, void *unused) in getcpu_init() argument
18 return f ? f(cpu, node, unused) : -ENOSYS; in getcpu_init()
28 unsigned cpu; in sched_getcpu() local
33 r = f(&cpu, 0, 0); in sched_getcpu()
34 if (!r) return cpu; in sched_getcpu()
39 r = __syscall(SYS_getcpu, &cpu, 0, 0); in sched_getcpu()
40 if (!r) return cpu; in sched_getcpu()
/third_party/musl/porting/linux/user/src/sched/
Dsched_getcpu.c27 static long getcpu_init(unsigned *cpu, unsigned *node, void *unused) in getcpu_init() argument
33 return f ? f(cpu, node, unused) : -ENOSYS; in getcpu_init()
43 unsigned cpu; in sched_getcpu() local
48 r = f(&cpu, 0, 0); in sched_getcpu()
49 if (!r) return cpu; in sched_getcpu()
54 r = __syscall(SYS_getcpu, &cpu, 0, 0); in sched_getcpu()
55 if (!r) return cpu; in sched_getcpu()
/third_party/ltp/testcases/kernel/hotplug/cpu_hotplug/tools/
Dcpuhotplug_report_proc_interrupts12 foreach my $cpu (sort keys %{$run1->{$irq}}) {
13 printf "%-5s ", $cpu;
19 foreach my $cpu (sort keys %{$run1->{$irq}}) {
20 printf "%-5s ", $run2->{$irq}->{$cpu} - $run1->{$irq}->{$cpu};
42 foreach my $cpu (@cpus) {
43 $run{"IRQ$irq"}->{"$cpu"} = shift @items;
/third_party/mindspore/patches/
D0002-train-and-build.patch1 diff --git a/mindspore/ccsrc/plugin/device/cpu/kernel/nnacl/BUILD.gn b/mindspore/ccsrc/plugin/devic…
3 --- a/mindspore/ccsrc/plugin/device/cpu/kernel/nnacl/BUILD.gn
4 +++ b/mindspore/ccsrc/plugin/device/cpu/kernel/nnacl/BUILD.gn
165 + "src/litert/kernel/cpu/fp16_grad/activation_fp16_grad.cc",
166 + "src/litert/kernel/cpu/fp16_grad/arithmetic_fp16_grad.cc",
167 + "src/litert/kernel/cpu/fp16_grad/arithmetic_fp16_self_grad.cc",
168 + "src/litert/kernel/cpu/fp16_grad/bias_fp16_grad.cc",
169 + "src/litert/kernel/cpu/fp16_grad/bn_fp16_grad.cc",
170 + "src/litert/kernel/cpu/fp16_grad/convolution_fp16_grad_filter.cc",
171 + "src/litert/kernel/cpu/fp16_grad/convolution_fp16_grad_input.cc",
[all …]
/third_party/musl/libc-test/src/functionalext/supplement/sched/
D__sched_cpucount.c41 for (int cpu = 0; cpu < num_cpus; cpu++) { in __sched_cpucount_0100() local
42 CPU_SET_S(cpu, size, cpusetp); in __sched_cpucount_0100()
67 for (int cpu = 0; cpu < num_cpus; cpu++) { in __sched_cpucount_0200() local
68 CPU_SET_S(cpu, size, cpusetp); in __sched_cpucount_0200()
/third_party/skia/third_party/externals/abseil-cpp/
Dgenerate_def_files.py53 def _GenerateDefFile(cpu, is_debug, extra_gn_args=[], suffix=None): argument
65 'target_cpu = "{}"'.format(cpu),
82 logging.info('[%s - %s] Creating tmp out dir in %s', cpu, flavor, out_dir)
85 logging.info('[%s - %s] gn gen completed', cpu, flavor)
89 logging.info('[%s - %s] autoninja completed', cpu, flavor)
97 logging.info('[%s - %s] Found %d object files.', cpu, flavor, len(obj_files))
140 logging.info('[%s - %s] Found %d absl symbols.', cpu, flavor, len(absl_symbols))
144 'symbols_{}_{}_{}.def'.format(cpu, flavor, suffix))
147 'symbols_{}_{}.def'.format(cpu, flavor))
157 logging.info('[%s - %s] .def file successfully generated.', cpu, flavor)

12345678910>>...24