Home
last modified time | relevance | path

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

12345

/frameworks/compile/slang/tests/F_root_compute_really_bad/
Dstderr.txt.expect1 root_compute_really_bad.rs:4:5: error: Compute kernel root() is required to return a void type
2 root_compute_really_bad.rs:4:5: error: Compute kernel root() must have at least one parameter for i…
3 root_compute_really_bad.rs:4:14: error: Unexpected kernel root() parameter 'ain' of type 'int'
4 root_compute_really_bad.rs:4:23: error: Unexpected kernel root() parameter 'aout' of type 'int'
5 root_compute_really_bad.rs:4:33: error: Unexpected kernel root() parameter 'usrData' of type 'int'
6 root_compute_really_bad.rs:4:48: error: Unexpected kernel root() parameter 'x1' of type 'float'
7 root_compute_really_bad.rs:4:59: error: Unexpected kernel root() parameter 'y1' of type 'double'
9 root_compute_really_bad.rs:6:19: error: Unexpected kernel root() parameter 'extra1' of type 'uint32…
10 root_compute_really_bad.rs:6:36: error: Unexpected kernel root() parameter 'extra2' of type 'uint32…
/frameworks/rs/tests/typecheck/
Dkernels.rs113 void __attribute__((kernel)) test_BOOLEAN(bool in) {
116 void __attribute__((kernel)) test_I8(char in) {
119 void __attribute__((kernel)) test_U8(uchar in) {
122 void __attribute__((kernel)) test_I16(short in) {
125 void __attribute__((kernel)) test_U16(ushort in) {
128 void __attribute__((kernel)) test_I32(int in) {
131 void __attribute__((kernel)) test_U32(uint in) {
134 void __attribute__((kernel)) test_I64(long in) {
137 void __attribute__((kernel)) test_U64(ulong in) {
140 void __attribute__((kernel)) test_F32(float in) {
[all …]
/frameworks/compile/slang/tests/P_kernel/
Dkernel.rs4 int __attribute__((kernel)) root(uint32_t ain) {
8 void __attribute__((kernel)) in_only(uint32_t ain) {
11 int __attribute__((kernel)) out_only() {
15 int __attribute__((kernel)) everything(uint32_t ain, uint32_t x, uint32_t y) {
/frameworks/compile/slang/tests/P_fs_kernel/
Dfs_kernel.fs4 int __attribute__((kernel)) root(uint32_t ain) {
8 void __attribute__((kernel)) in_only(uint32_t ain) {
11 int __attribute__((kernel)) out_only() {
15 int __attribute__((kernel)) everything(uint32_t ain, uint32_t x, uint32_t y) {
/frameworks/compile/slang/tests/P_kernel_cpp/
Dkernel_cpp.rs13 int __attribute__((kernel)) root(uint32_t ain) {
17 void __attribute__((kernel)) in_only(uint32_t ain) {
20 int __attribute__((kernel)) out_only() {
24 int __attribute__((kernel)) everything(uint32_t ain, uint32_t x, uint32_t y) {
/frameworks/compile/slang/tests/F_root_compute_non_uint32_t_xyzar/
Dstderr.txt.expect1 root_compute_non_uint32_t_xyzar.rs:5:15: error: Unexpected kernel root() parameter 'x' of type 'int'
2 root_compute_non_uint32_t_xyzar.rs:5:24: error: Unexpected kernel root() parameter 'y' of type 'flo…
3 root_compute_non_uint32_t_xyzar.rs:5:34: error: Unexpected kernel root() parameter 'z' of type 'dou…
4 root_compute_non_uint32_t_xyzar.rs:5:43: error: Unexpected kernel root() parameter 'ar' of type 'uc…
/frameworks/compile/slang/tests/F_fs_ptr/
Dfs_ptr.fs15 int __attribute__((kernel)) root(uint32_t ain) {
22 void __attribute__((kernel)) in_only(uint32_t ain) {
25 int __attribute__((kernel)) out_only() {
29 int __attribute__((kernel)) everything(uint32_t ain, uint32_t x, uint32_t y) {
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
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_CompatLib/src/com/android/rs/test/
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/ImageProcessing/src/com/android/rs/image/
Dhistogram.rs29 void __attribute__((kernel)) pass1(int in, uint x, uint y) {
48 int __attribute__((kernel)) pass2(uint x) {
74 uchar4 __attribute__((kernel)) clear() {
78 uchar4 __attribute__((kernel)) draw(uint x, uint y) {
Dgreyscale.fs21 uchar4 __attribute__((kernel)) root(uchar4 v_in) {
28 uchar __attribute__((kernel)) toU8(uchar4 v_in) {
33 uchar4 __attribute__((kernel)) toU8_4(uchar v_in) {
Dgrain.fs19 uchar __attribute__((kernel)) genRand() {
43 uchar __attribute__((kernel)) blend9(uint32_t x, uint32_t y) {
77 uchar4 __attribute__((kernel)) root(uchar4 in, uint32_t x, uint32_t y) {
/frameworks/base/docs/html/guide/topics/renderscript/
Dcompute.jd12 <li><a href="#writing-an-rs-kernel">Writing a RenderScript Kernel</a></li>
43 <li>A Java API is used for managing the lifetime of RenderScript resources and controlling kernel
47 <h2 id="writing-an-rs-kernel">Writing a RenderScript Kernel</h2>
49 <p>A RenderScript kernel typically resides in a <code>.rs</code> file in the
56 RenderScript kernel language used in this script. Currently, 1 is the only valid value.</li>
69 <li>Some number of compute kernels. A kernel is a parallel function that executes across every
72 <p>A simple kernel may look like the following:</p>
74 <pre>uchar4 __attribute__((kernel)) invert(uchar4 in, uint32_t x, uint32_t y) {
83 <code>__attribute__((kernel))</code> applied to the function prototype. This denotes that the
84 function is a RenderScript kernel instead of an invokable function. The next feature is the
[all …]
/frameworks/compile/slang/tests/F_kernel_16/
Dstderr.txt.expect1 …el_16.rs:5:30: error: Compute kernel root() targeting SDK levels 11-16 may not use pass-by-value w…
/frameworks/compile/slang/tests/F_root_compute_too_many_args/
Dstderr.txt.expect1 root_compute_too_many_args.rs:6:20: error: Unexpected kernel root() parameter 'extra1' of type 'uin…
2 root_compute_too_many_args.rs:6:37: error: Unexpected kernel root() parameter 'extra2' of type 'uin…
/frameworks/compile/slang/tests/F_root_compute_int_in/
Dstderr.txt.expect1 root_compute_int_in.rs:4:6: error: Compute kernel root() must have at least one parameter for in or…
2 root_compute_int_in.rs:4:21: error: Unexpected kernel root() parameter 'in' of type 'const int'
/frameworks/compile/slang/tests/F_kernel_static/
Dkernel_static.rs12 int __attribute__((kernel)) root(uint32_t ain) {
18 static int __attribute__((kernel)) static_kernel() {
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
Dgreyscale.fs21 uchar4 __attribute__((kernel)) root(uchar4 v_in) {
28 uchar __attribute__((kernel)) toU8(uchar4 v_in) {
33 uchar4 __attribute__((kernel)) toU8_4(uchar v_in) {
Dgrain.fs19 uchar __attribute__((kernel)) genRand() {
43 uchar __attribute__((kernel)) blend9(uint32_t x, uint32_t y) {
77 uchar4 __attribute__((kernel)) root(uchar4 in, uint32_t x, uint32_t y) {
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
Dgreyscale.fs21 uchar4 __attribute__((kernel)) root(uchar4 v_in) {
28 uchar __attribute__((kernel)) toU8(uchar4 v_in) {
33 uchar4 __attribute__((kernel)) toU8_4(uchar v_in) {
Dgrain.fs19 uchar __attribute__((kernel)) genRand() {
43 uchar __attribute__((kernel)) blend9(uint32_t x, uint32_t y) {
77 uchar4 __attribute__((kernel)) root(uchar4 in, uint32_t x, uint32_t y) {
Dlevels.rsh24 uchar4 __attribute__((kernel)) root(uchar4 in, uint32_t x, uint32_t y) {
37 uchar4 __attribute__((kernel)) root4(uchar4 in, uint32_t x, uint32_t y) {
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicLUT.cpp41 static void kernel(const RsForEachStubParamStruct *p,
56 void RsdCpuScriptIntrinsicLUT::kernel(const RsForEachStubParamStruct *p, in kernel() function in RsdCpuScriptIntrinsicLUT
85 mRootPtr = &kernel; in RsdCpuScriptIntrinsicLUT()
/frameworks/compile/slang/tests/F_kernel_noattr/
Dstderr.txt.expect1 kernel_noattr.rs:4:5: error: Compute kernel root() is required to return a void type
2 kernel_noattr.rs:4:5: error: Compute kernel root() must have at least one parameter for in or out
/frameworks/rs/tests/cppbasic/
Dmono.rs68 int __attribute__((kernel)) kern1(int i, uint32_t x, uint32_t y) {
72 void __attribute__((kernel)) verify_kern1(int i, uint32_t x, uint32_t y) {

12345