[go: nahoru, domu]

Searched refs:kernel (Results 1 - 25 of 66) sorted by relevance

123

/frameworks/native/cmds/atrace/
H A 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
8 # Allow the shell group to enable (some) kernel tracing.
9 chown root shell /sys/kernel/debug/tracing/trace_clock
10 chown root shell /sys/kernel/debug/tracing/buffer_size_kb
11 chown root shell /sys/kernel/debug/tracing/options/overwrite
12 chown root shell /sys/kernel/debug/tracing/options/print-tgid
13 chown root shell /sys/kernel/debug/tracing/events/sched/sched_switch/enable
14 chown root shell /sys/kernel/debu
[all...]
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
H A Dcopy_test.rs29 float2 __attribute((kernel)) copyFloat2(float2 i) {
33 float3 __attribute((kernel)) copyFloat3(float3 i) {
37 float4 __attribute((kernel)) copyFloat4(float4 i) {
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/
H A Dcopy_test.rs29 float2 __attribute((kernel)) copyFloat2(float2 i) {
33 float3 __attribute((kernel)) copyFloat3(float3 i) {
37 float4 __attribute((kernel)) copyFloat4(float4 i) {
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
H A Dcopy_test.rs29 float2 __attribute((kernel)) copyFloat2(float2 i) {
33 float3 __attribute((kernel)) copyFloat3(float3 i) {
37 float4 __attribute((kernel)) copyFloat4(float4 i) {
/frameworks/rs/java/tests/ComputePerf/src/com/example/android/rs/computeperf/
H A Dlaunchtest.rs23 void __attribute__((kernel)) k_x(uchar in, uint32_t x) {
29 uchar __attribute__((kernel)) k_xy(uint32_t x, uint32_t y) {
/frameworks/rs/api/
H A 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 attribut
[all...]
H A Drs_io.spec35 This function should not be called from inside a kernel, or from any function
36 that may be called directly or indirectly from a kernel. Doing so would cause a
50 This function should not be called from inside a kernel, or from any function
51 that may be called directly or indirectly from a kernel. Doing so would cause a
/frameworks/rs/scriptc/
H A Drs_core.rsh40 #define RS_KERNEL __attribute__((kernel))
/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/
H A Dhealing.rs77 float3 __attribute__((kernel)) laplacian( uint32_t x, uint32_t y) {
91 float3 __attribute__((kernel)) convert_to_f(uchar4 in) {
95 float3 __attribute__((kernel)) copyMasked(uchar in, uint32_t x, uint32_t y) {
99 uchar4 __attribute__((kernel)) convert_to_uc(float3 in) {
104 uchar4 __attribute__((kernel)) alphaMask(uchar4 in, uint32_t x, uint32_t y) {
112 float3 __attribute__((kernel)) solve1(uchar in, uint32_t x, uint32_t y) {
126 float3 __attribute__((kernel)) solve2(uchar in, uint32_t x, uint32_t y) {
144 float3 __attribute__((kernel))extractBorder(int2 in) {
148 float __attribute__((kernel)) bordercorrelation(uint32_t x, uint32_t y) {
H A Dfind_region.rs90 float3 __attribute__((kernel))extractBorder(uint2 in) {
94 uint2 __attribute__((kernel)) toInt(float2 in) {
140 float __attribute__((kernel)) bordercorrelation(uint32_t x, uint32_t y) {
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/d1new/
H A DKernelDataForRenderScriptd1new.java13 * A class that manages the blur kernel matrices of a blending layer that
20 * A stack of blur kernel matrices packed into a continuous memory buffer.
66 * Returns the kernel matrix of a depth level.
68 * @param diskRadius disk radius of the kernel.
69 * @return the kernel matrix of the disk radius.
77 * Generates a blur kernel matrix for a blur disk with radius
81 * @param kernelRadius radius of blur kernel matrix
82 * @return a kernel matrix represented as an array
89 float[] kernel = new float[kernelLength];
90 Arrays.fill(kernel,
[all...]
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/f32/
H A DKernelDataForRenderScriptF32.java13 * A class that manages the blur kernel matrices of a blending layer that
20 * A stack of blur kernel matrices packed into a continuous memory buffer.
64 * Returns the kernel matrix of a depth level.
66 * @param diskRadius disk radius of the kernel.
67 * @return the kernel matrix of the disk radius.
75 * Generates a blur kernel matrix for a blur disk with radius
79 * @param kernelRadius radius of blur kernel matrix
80 * @return a kernel matrix represented as an array
87 float[] kernel = new float[kernelLength];
88 Arrays.fill(kernel,
[all...]
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicLUT.cpp41 static void kernel(const RsExpandKernelDriverInfo *info,
56 void RsdCpuScriptIntrinsicLUT::kernel(const RsExpandKernelDriverInfo *info, function in class:RsdCpuScriptIntrinsicLUT
86 mRootPtr = &kernel;
H A DrsCpuIntrinsic.cpp104 mtls.kernel = mRootPtr;
119 mtls->kernel = mRootPtr;
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
H A Dlevels.rsh24 uchar4 __attribute__((kernel)) root(uchar4 in) {
37 uchar4 __attribute__((kernel)) root4(uchar4 in) {
H A Dfisheye.rsh45 uchar4 __attribute__((kernel)) root(uint32_t x, uint32_t y) {
H A Dfisheye_approx.rsh45 uchar4 __attribute__((kernel)) root(uint32_t x, uint32_t y) {
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
H A Dlevels.rsh24 uchar4 __attribute__((kernel)) root(uchar4 in) {
37 uchar4 __attribute__((kernel)) root4(uchar4 in) {
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A Dlevels.rsh24 uchar4 __attribute__((kernel)) root(uchar4 in) {
37 uchar4 __attribute__((kernel)) root4(uchar4 in) {
/frameworks/rs/java/tests/ScriptGroupTest/src/com/android/rs/sgtest/
H A Dlevels_f.rsh24 uchar4 __attribute__((kernel)) root(uchar4 in) {
48 float4 __attribute__((kernel)) levels_v4(float4 in) {
H A Dvignette_approx_f.rsh47 float4 __attribute__((kernel)) vignette(float4 in, uint32_t x, uint32_t y) {
H A Dvignette_f.rsh47 float4 __attribute__((kernel)) root(float4 in, uint32_t x, uint32_t y) {
/frameworks/compile/slang/
H A Dslang_rs_foreach_lowering.cpp39 // Check if the passed-in expr references a kernel function in the following
79 // a FunctionDecl of a kernel function.
116 "Invalid kernel launch call made from inside another kernel.");
121 const clang::FunctionDecl* kernel = matchFunctionDesignator(arg0); local
123 if (kernel == nullptr) {
125 "Invalid kernel launch call. "
130 // Verifies that kernel is indeed a "kernel" function.
131 *slot = mCtxt->getForEachSlotNumber(kernel);
224 const clang::FunctionDecl* kernel = matchKernelLaunchCall(CE, &slot, &hasOptions); local
[all...]
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
H A Dbricked.rs29 uint __attribute__((kernel)) pack_chunk(uint32_t x) {
66 uint __attribute__((kernel)) dilate(uint in, uint32_t x) {
148 void __attribute__((kernel)) copy(short in, uint32_t x, uint32_t y) {
H A Dmandelbulb.rs53 short __attribute__((kernel)) mandelbulb(uint32_t x, uint32_t y) {
76 void __attribute__((kernel)) copy(short in, uint32_t x, uint32_t y) {

Completed in 298 milliseconds

123