Home
last modified time | relevance | path

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

12345678910>>...29

/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 …]
/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/mindspore/mindspore/ccsrc/backend/kernel_compiler/
DCMakeLists.txt33 "cpu/*.cc"
34 "cpu/mkldnn/*.cc"
35 "cpu/fl/*.cc"
36 "cpu/ps/*.cc"
37 "cpu/pyfunc/*.cc"
38 "cpu/rl/*.cc"
42 list(REMOVE_ITEM CPU_SRC_LIST "cpu/allgather_cpu_kernel.cc")
43 list(REMOVE_ITEM CPU_SRC_LIST "cpu/reduce_scatter_cpu_kernel.cc")
44 list(REMOVE_ITEM CPU_SRC_LIST "cpu/embedding_look_up_comm_grad_cpu_kernel.cc")
53 list(REMOVE_ITEM CPU_SRC_LIST "cpu/ps/apply_momentum_ps_kernel.cc")
[all …]
/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/mindspore/.jenkins/check/config/
Dwhitelizard.txt35 mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/infer/strided_slice_infer.c:StridedSlic…
36 mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/winograd_transform_fp16.c:Winograd…
37 mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/pooling_fp16.c:AvgPoolingFp16
38 mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/pooling_fp16.c:MaxPoolingFp16
39 mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/winograd_utils_fp16.c:OutputTransf…
40 mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/winograd_utils_fp16.c:OutputTransf…
41 mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/winograd_utils_fp16.c:OutputTransf…
42 mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/winograd_utils_fp16.c:OutputTransf…
43 mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/winograd_utils_fp16.c:OutputTransf…
44 mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/winograd_utils_fp16.c:OutputTransf…
[all …]
/third_party/libevdev/build-aux/
Dconfig.sub929 cpu=$basic_machine
935 cpu=i386
939 cpu=x86_64
944 cpu=$basic_machine
952 case $cpu-$vendor in
997 cpu=xps100
1003 cpu=rs6000
1010 cpu=x86_64
1013 cpu=bfin
1017 cpu=tic54x
[all …]
/third_party/e2fsprogs/config/
Dconfig.sub942 cpu=$basic_machine
948 cpu=i386
952 cpu=x86_64
957 cpu=$basic_machine
965 case $cpu-$vendor in
1010 cpu=xps100
1016 cpu=rs6000
1023 cpu=x86_64
1026 cpu=bfin
1030 cpu=tic54x
[all …]
/third_party/freetype/builds/unix/
Dconfig.sub933 cpu=$basic_machine
939 cpu=i386
943 cpu=x86_64
948 cpu=$basic_machine
956 case $cpu-$vendor in
1001 cpu=xps100
1007 cpu=rs6000
1014 cpu=x86_64
1017 cpu=bfin
1021 cpu=tic54x
[all …]
/third_party/wayland_standard/
Dconfig.sub933 cpu=$basic_machine
939 cpu=i386
943 cpu=x86_64
948 cpu=$basic_machine
956 case $cpu-$vendor in
1001 cpu=xps100
1007 cpu=rs6000
1014 cpu=x86_64
1017 cpu=bfin
1021 cpu=tic54x
[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/iptables/extensions/
Dlibxt_cpu.t2 -m cpu --cpu 0;=;OK
3 -m cpu ! --cpu 0;=;OK
4 -m cpu --cpu 4294967295;=;OK
5 -m cpu --cpu 4294967296;;FAIL
6 -m cpu;;FAIL
/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/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/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/mesa3d/src/gallium/drivers/vc4/
Dvc4_tiling_lt.c137 void *cpu, uint32_t cpu_stride, in vc4_lt_image_aligned() argument
151 v3d_load_utile(cpu + (cpu_stride * y + in vc4_lt_image_aligned()
159 cpu + (cpu_stride * y + in vc4_lt_image_aligned()
177 void *cpu, uint32_t cpu_stride, in vc4_lt_image_unaligned() argument
207 memcpy(cpu + x * cpp, gpu_row + offs_x, cpp); in vc4_lt_image_unaligned()
209 memcpy(gpu_row + offs_x, cpu + x * cpp, cpp); in vc4_lt_image_unaligned()
225 cpu += cpu_stride; in vc4_lt_image_unaligned()
234 void *cpu, uint32_t cpu_stride, in vc4_lt_image_helper() argument
242 cpu, cpu_stride, in vc4_lt_image_helper()
246 cpu, cpu_stride, in vc4_lt_image_helper()
[all …]
/third_party/boost/libs/timer/test/
Dcpu_timer_info.cpp41 cpu_timer cpu; in cpp_main() local
46 cpu.start(); in cpp_main()
47 start_time = cpu.elapsed(); in cpp_main()
51 current_time = cpu.elapsed(); in cpp_main()
58 cpu_timer cpu; in cpp_main() local
63 cpu.start(); in cpp_main()
64 start_time.wall = cpu.elapsed().wall; in cpp_main()
68 current_time.wall = cpu.elapsed().wall; in cpp_main()
/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/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/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()

12345678910>>...29