Home
last modified time | relevance | path

Searched refs:kernel (Results 1 – 25 of 319) sorted by relevance

12345678910>>...13

/frameworks/native/cmds/atrace/
Datrace.rc1 ## Permissions to allow system-wide tracing to the kernel trace buffer.
5 # Allow writing to the kernel trace log.
6 chmod 0222 /sys/kernel/debug/tracing/trace_marker
7 chmod 0222 /sys/kernel/tracing/trace_marker
10 write /proc/sys/kernel/sched_schedstats 1
12 # Grant unix world read/write permissions to kernel tracepoints.
14 chmod 0666 /sys/kernel/debug/tracing/trace_clock
15 chmod 0666 /sys/kernel/tracing/trace_clock
16 chmod 0666 /sys/kernel/debug/tracing/buffer_size_kb
17 chmod 0666 /sys/kernel/tracing/buffer_size_kb
[all …]
Datrace_userdebug.rc1 ## Permissions to allow additional system-wide tracing to the kernel trace buffer.
4 # Grant unix world read/write permissions to enable kernel tracepoints.
11 chmod 0666 /sys/kernel/tracing/set_event
12 chmod 0666 /sys/kernel/debug/tracing/set_event
14 chmod 0666 /sys/kernel/tracing/events/workqueue/enable
15 chmod 0666 /sys/kernel/debug/tracing/events/workqueue/enable
16 chmod 0666 /sys/kernel/tracing/events/regulator/enable
17 chmod 0666 /sys/kernel/debug/tracing/events/regulator/enable
18 chmod 0666 /sys/kernel/tracing/events/filemap/enable
19 chmod 0666 /sys/kernel/debug/tracing/events/filemap/enable
/frameworks/compile/slang/tests/F_reflection3264_foreach_mismatch/
Dstderr.txt.expect1 reflection3264_foreach_mismatch.rscript:13:15: error: foreach kernel 'bb' has __attribute__((kernel
2 reflection3264_foreach_mismatch.rscript:22:18: error: foreach kernel 'dd' has output type 'uint' fo…
3 reflection3264_foreach_mismatch.rscript:39:15: error: foreach kernel 'ii' has output type 'int' for…
4 reflection3264_foreach_mismatch.rscript:40:16: error: foreach kernel 'jj' has output type 'int' for…
5 reflection3264_foreach_mismatch.rscript:66:16: error: foreach kernel 'nn' has 1 input for 32-bit ta…
6 reflection3264_foreach_mismatch.rscript:88:16: error: foreach kernel 'qq' has different special par…
7 reflection3264_foreach_mismatch.rscript:124:16: error: 2nd input of foreach kernel 'uu' has type 'u…
8 reflection3264_foreach_mismatch.rscript:124:16: error: 4th input of foreach kernel 'uu' has type 's…
9 reflection3264_foreach_mismatch.rscript:133:6: error: foreach kernel 'xx' has 0 usrData parameters …
10 reflection3264_foreach_mismatch.rscript:132:6: error: foreach kernel 'ww' has 1 usrData parameter f…
[all …]
/frameworks/rs/script_api/
Drs_for_each.spec20 The @rsForEach() function can be used to invoke the root kernel of a script.
23 an executing kernel, like dimensions and current indices. These functions take
38 This type is used to suggest how the invoked kernel should iterate over the cells of the
41 This specification can help the caching behavior of the running kernel, e.g. the cache
48 summary: Handle to a kernel invocation context
50 The kernel context contains common characteristics of the allocations being iterated
54 You can access the kernel context by adding a special parameter named "context" of type
55 rs_kernel_context to your kernel function. See @rsGetDimX() and @rsGetArray0() for examples.
89 summary: Handle to a kernel function
91 An opaque type for a function that is defined with the kernel attribute. A value
[all …]
/frameworks/compile/slang/tests/F_root_compute_really_bad/
Dstderr.txt.expect1 root_compute_really_bad.rscript:4:5: error: Compute kernel root() is required to return a void type
2 root_compute_really_bad.rscript:5:31: error: In compute kernel root(), special parameter 'x' must b…
3 root_compute_really_bad.rscript:6:19: error: In compute kernel root(), parameter 'extra1' cannot ap…
4 root_compute_really_bad.rscript:6:36: error: In compute kernel root(), parameter 'extra2' cannot ap…
5 root_compute_really_bad.rscript:4:14: error: Compute kernel root() cannot have non-pointer paramete…
6 root_compute_really_bad.rscript:4:23: error: Compute kernel root() cannot have non-pointer paramete…
7 root_compute_really_bad.rscript:4:33: error: Compute kernel root() cannot have non-pointer paramete…
8 root_compute_really_bad.rscript:4:48: error: Compute kernel root() cannot have non-pointer paramete…
9 root_compute_really_bad.rscript:4:59: error: Compute kernel root() cannot have non-pointer paramete…
10 root_compute_really_bad.rscript:4:5: error: Compute kernel root() must have at least one parameter …
[all …]
/frameworks/rs/script_api/include/
Drs_for_each.rsh22 * The rsForEach() function can be used to invoke the root kernel of a script.
25 * an executing kernel, like dimensions and current indices. These functions take
35 * This type is used to suggest how the invoked kernel should iterate over the cells of the
38 * This specification can help the caching behavior of the running kernel, e.g. the cache
51 * rs_kernel_context: Handle to a kernel invocation context
53 * The kernel context contains common characteristics of the allocations being iterated
57 * You can access the kernel context by adding a special parameter named "context" of type
58 * rs_kernel_context to your kernel function. See rsGetDimX() and rsGetArray0() for examples.
94 * rs_kernel: Handle to a kernel function
96 * An opaque type for a function that is defined with the kernel attribute. A value
[all …]
/frameworks/compile/slang/tests/F_reflection3264_reduce_mismatch/
Dstderr.txt.expect1 reflection3264_reduce_mismatch.rscript:37:12: error: reduction kernel 'cc' has result type 'uint' f…
2 reflection3264_reduce_mismatch.rscript:37:12: error: 2nd input of reduction kernel 'cc' has type 'u…
3 reflection3264_reduce_mismatch.rscript:37:12: error: 4th input of reduction kernel 'cc' has type 'u…
4 reflection3264_reduce_mismatch.rscript:43:12: error: reduction kernel 'dd' has 2 inputs for 32-bit …
5 reflection3264_reduce_mismatch.rscript:52:12: error: reduction kernel 'ee' is reflected in Java onl…
6 reflection3264_reduce_mismatch.rscript:52:12: error: reduction kernel 'ee' has result type 'int' fo…
7 reflection3264_reduce_mismatch.rscript:52:12: error: 2nd input of reduction kernel 'ee' has type 'u…
8 reflection3264_reduce_mismatch.rscript:53:12: error: reduction kernel 'ff' is reflected in Java onl…
9 reflection3264_reduce_mismatch.rscript:53:12: error: reduction kernel 'ff' has result type 'struct …
10 reflection3264_reduce_mismatch.rscript:53:12: error: reduction kernel 'ff' has 3 inputs for 32-bit …
[all …]
/frameworks/compile/slang/tests/F_kernel_badattr/
Dkernel_badattr.rscript4 int __attribute__((kernel("unimplemented"))) kernel(int arg) {
8 int __attribute__((kernel(7))) kernel2(int arg) {
12 int __attribute__((kernel("reduce", 1))) kernel3(int arg) {
16 int __attribute__((kernel("reduce"))) kernel4(int arg) {
Dstderr.txt.expect1 kernel_badattr.rscript:4:20: error: 'kernel' attribute takes no arguments
2 kernel_badattr.rscript:8:20: error: 'kernel' attribute takes no arguments
3 kernel_badattr.rscript:12:20: error: 'kernel' attribute takes no arguments
4 kernel_badattr.rscript:16:20: error: 'kernel' attribute takes no arguments
/frameworks/compile/slang/tests/F_foreach_unexpected_kernel_arg/
Dstderr.txt.expect1 foreach_unexpected_kernel_arg.rscript:11:13: error: Invalid kernel launch call. Expects a function …
2 foreach_unexpected_kernel_arg.rscript:12:13: error: Invalid kernel launch call. Expects a function …
3 foreach_unexpected_kernel_arg.rscript:13:24: error: Invalid kernel launch call. Expects a function …
4 foreach_unexpected_kernel_arg.rscript:14:24: error: Invalid kernel launch call. Expects a function …
/frameworks/rs/toolkit/
DHistogram.cpp83 KernelFunction kernel; in processData() local
86 kernel = &HistogramTask::kernelP1U4; in processData()
89 kernel = &HistogramTask::kernelP1U3; in processData()
92 kernel = &HistogramTask::kernelP1U2; in processData()
95 kernel = &HistogramTask::kernelP1U1; in processData()
106 std::invoke(kernel, this, inPtr, sums, startX, endX); in processData()
177 KernelFunction kernel; in processData() local
180 kernel = &HistogramDotTask::kernelP1L4; in processData()
183 kernel = &HistogramDotTask::kernelP1L3; in processData()
186 kernel = &HistogramDotTask::kernelP1L2; in processData()
[all …]
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
Dhealing.rscript25 float3 __attribute__((kernel)) laplacian(uint32_t x, uint32_t y) {
39 float3 __attribute__((kernel)) convert_to_f(uchar4 in) {
42 float3 __attribute__((kernel)) copy(float3 in) { return in; }
44 float3 __attribute__((kernel)) copyMasked(uchar in, uint32_t x, uint32_t y) {
48 uchar4 __attribute__((kernel)) convert_to_uc(float3 in) {
53 uchar4 __attribute__((kernel)) alphaMask(uchar4 in, uint32_t x, uint32_t y) {
61 float3 __attribute__((kernel)) solve1(uchar in, uint32_t x, uint32_t y) {
74 float3 __attribute__((kernel)) solve2(uchar in, uint32_t x, uint32_t y) {
92 float3 __attribute__((kernel)) extractBorder(int2 in) {
96 float __attribute__((kernel)) bordercorrelation(uint32_t x, uint32_t y) {
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/f32/
DKernelDataForRenderScriptF32.java87 float[] kernel = new float[kernelLength]; in generateDiskKernelArray() local
88 Arrays.fill(kernel, 0); in generateDiskKernelArray()
108 kernel[y * kernelDim + x] += 1; in generateDiskKernelArray()
118 kernel[n] /= sumKernelValues; in generateDiskKernelArray()
121 return kernel; in generateDiskKernelArray()
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/d1new/
DKernelDataForRenderScriptd1new.java89 float[] kernel = new float[kernelLength]; in generateDiskKernelArray() local
90 Arrays.fill(kernel, 0); in generateDiskKernelArray()
110 kernel[y * kernelDim + x] += 1; in generateDiskKernelArray()
120 kernel[n] /= sumKernelValues; in generateDiskKernelArray()
123 return kernel; in generateDiskKernelArray()
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
Dimage_and_kernel.rsh20 // Auxiliary information that is needed to extract a kernel matrix from a buffer
21 // of a stack of kernel matrices.
23 // The starting position of a kernel matrix in a buffer of a stack of kernel
Dlayered_filter_f32_helper.rsh7 // Several supporting functions that are called by kernel functions defined in
70 // Extracts kernel matrix from kernel stack using kernel_info.
74 const float *kernel = kernel_stack + kernel_info->offset;
94 const float weight = v_p * (*kernel);
99 kernel++;
122 // Extracts kernel matrix from kernel stack using kernel_info.
158 // Extracts kernel matrix from kernel stack using kernel_info.
162 const float *kernel = kernel_stack + kernel_info->offset;
178 const float weight = flag * (*kernel);
183 kernel++;
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
Dhealing.rscript73 float3 __attribute__((kernel)) laplacian( uint32_t x, uint32_t y) {
87 float3 __attribute__((kernel)) convert_to_f(uchar4 in) {
91 float3 __attribute__((kernel)) copyMasked(uchar in, uint32_t x, uint32_t y) {
95 uchar4 __attribute__((kernel)) convert_to_uc(float3 in) {
100 uchar4 __attribute__((kernel)) alphaMask(uchar4 in, uint32_t x, uint32_t y) {
108 float3 __attribute__((kernel)) solve1(uchar in, uint32_t x, uint32_t y) {
122 float3 __attribute__((kernel)) solve2(uchar in, uint32_t x, uint32_t y) {
140 float3 __attribute__((kernel))extractBorder(int2 in) {
144 float __attribute__((kernel)) bordercorrelation(uint32_t x, uint32_t y) {
/frameworks/compile/slang/tests/F_reflection3264_foreach_mismatch_name64/
Dstderr.txt.expect1 reflection3264_foreach_mismatch_name64.rscript:18:16: error: 1st input of foreach kernel 'bb' has t…
2 reflection3264_foreach_mismatch_name64.rscript:8:6: error: 1st input of foreach kernel 'aa' has typ…
3 reflection3264_foreach_mismatch_name64.rscript:11:6: error: 2nd foreach kernel is 'cc32' for 32-bit…
/frameworks/compile/slang/tests/F_reflection3264_foreach_mismatch_name32/
Dstderr.txt.expect1 reflection3264_foreach_mismatch_name32.rscript:18:16: error: 1st input of foreach kernel 'bb' has t…
2 reflection3264_foreach_mismatch_name32.rscript:8:6: error: 1st input of foreach kernel 'aa' has typ…
3 reflection3264_foreach_mismatch_name32.rscript:11:6: error: 2nd foreach kernel is 'cc32' for 32-bit…
/frameworks/compile/slang/
Dslang_rs_foreach_lowering.cpp121 const clang::FunctionDecl* kernel = matchFunctionDesignator(arg0); in matchKernelLaunchCall() local
123 if (kernel == nullptr) { in matchKernelLaunchCall()
131 *slot = mCtxt->getForEachSlotNumber(kernel); in matchKernelLaunchCall()
135 << funcName << kernel->getName(); in matchKernelLaunchCall()
139 return kernel; in matchKernelLaunchCall()
224 const clang::FunctionDecl* kernel = matchKernelLaunchCall(CE, &slot, &hasOptions); in VisitCallExpr() local
225 if (kernel == nullptr) { in VisitCallExpr()
233 clang::QualType resultType = kernel->getReturnType().getCanonicalType(); in VisitCallExpr()
236 const unsigned numInputsExpected = RSExportForEach::getNumInputs(mCtxt->getTargetAPI(), kernel); in VisitCallExpr()
245 << kernel->getName(); in VisitCallExpr()
/frameworks/rs/tests/java_api/Refocus/dataExtraction/
DRefocusTestTimingProcess.txt1 This document is to explain the process to extract kernel running time of Refocus(Lens Blur) app in…
3 …/Refocus/dataExtraction contains all the shell scripts and sample data files to extract kernel time
7 1. All the timing numbers are in nanoseconds, since a lot of the kernel is processed really fast.
8kernel together to get the total time of one kernel. For example, if a kernel “MarkLayerMask” is c…
/frameworks/compile/slang/tests/F_foreach_from_kernel/
Dstderr.txt.expect1 foreach_from_kernel.rscript:13:3: error: Invalid kernel launch call made from inside another kernel.
/frameworks/compile/slang/tests/F_kernel_16/
Dstderr.txt.expect1 ….rscript:5:16: error: Compute kernel root() targeting SDK levels 11-16 may not use pass-by-value w…
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
Dcopy_test.rscript29 float2 __attribute((kernel)) copyFloat2(float2 i) {
33 float3 __attribute((kernel)) copyFloat3(float3 i) {
37 float4 __attribute((kernel)) copyFloat4(float4 i) {
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dcopy_test.rscript29 float2 __attribute((kernel)) copyFloat2(float2 i) {
33 float3 __attribute((kernel)) copyFloat3(float3 i) {
37 float4 __attribute((kernel)) copyFloat4(float4 i) {

12345678910>>...13