/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | apitest.rscript | 66 volatile float3 f3; 340 f3 = rsGetElementAt_float3(aFloat3, 0); 341 rsSetElementAt_float3(aFloat3, f3, 0); 342 f3 = rsGetElementAt_float3(aFloat3, 0, 0); 343 rsSetElementAt_float3(aFloat3, f3, 0, 0); 344 f3 = rsGetElementAt_float3(aFloat3, 0, 0, 0); 345 rsSetElementAt_float3(aFloat3, f3, 0, 0, 0); 429 c3 = convert_char3(f3); 451 uc3 = convert_uchar3(f3); 473 s3 = convert_short3(f3); [all …]
|
D | math.rscript | 7 volatile float3 f3; 146 f3 = fnc(f3); \ 153 f3 = fnc(f3, (float3*) &f3); \ 160 f3 = fnc(f3, f3); \ 165 f3 = fnc(f3, f3); \ 172 f3 = fnc(f3, f1); \ 179 f1 = fnc(f3); \ 186 f1 = fnc(f3, f3); \ 193 f3 = fnc(f3, i3); \ 200 f3 = fnc(f3, i1); \ [all …]
|
D | vector.rscript | 5 float3 f3 = { 1.0f, 2.0f, 3.0f }; 51 _RS_ASSERT(f3.x == 2.99f); 52 _RS_ASSERT(f3.y == 3.99f); 53 _RS_ASSERT(f3.z == 4.99f);
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | apitest.rscript | 84 volatile float3 f3; 360 f3 = rsGetElementAt_float3(aFloat3, 0); 361 rsSetElementAt_float3(aFloat3, f3, 0); 362 f3 = rsGetElementAt_float3(aFloat3, 0, 0); 363 rsSetElementAt_float3(aFloat3, f3, 0, 0); 364 f3 = rsGetElementAt_float3(aFloat3, 0, 0, 0); 365 rsSetElementAt_float3(aFloat3, f3, 0, 0, 0); 449 c3 = convert_char3(f3); 471 uc3 = convert_uchar3(f3); 493 s3 = convert_short3(f3); [all …]
|
D | math.rscript | 25 volatile float3 f3; 164 f3 = fnc(f3); \ 171 f3 = fnc(f3, (float3*) &f3); \ 178 f3 = fnc(f3, f3); \ 183 f3 = fnc(f3, f3); \ 190 f3 = fnc(f3, f1); \ 197 f3 = fnc(f1, f3); \ 204 f1 = fnc(f3); \ 211 f1 = fnc(f3, f3); \ 218 f3 = fnc(f3, i3); \ [all …]
|
D | math_24.rscript | 25 volatile float3 f3; 32 f3 = fnc(f3); \
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/ |
D | apitest.rscript | 82 volatile float3 f3; 358 f3 = rsGetElementAt_float3(aFloat3, 0); 359 rsSetElementAt_float3(aFloat3, f3, 0); 360 f3 = rsGetElementAt_float3(aFloat3, 0, 0); 361 rsSetElementAt_float3(aFloat3, f3, 0, 0); 362 f3 = rsGetElementAt_float3(aFloat3, 0, 0, 0); 363 rsSetElementAt_float3(aFloat3, f3, 0, 0, 0); 447 c3 = convert_char3(f3); 469 uc3 = convert_uchar3(f3); 491 s3 = convert_short3(f3); [all …]
|
/frameworks/compile/slang/tests/P_math_fp/ |
D | math_fp.rscript | 11 float3 f3; 17 f3 = fnc(f3); \ 23 i3 = fnc(f3); \ 29 f3 = fnc(f3, f3); \ 35 f3 = fnc(f3, &f3); \ 41 f3 = fnc(f3, &i3); \ 47 f3 = fnc(f3, f3); \ 53 f3 = fnc(f3, i); \ 59 f3 = fnc(f3, i3); \ 65 f3 = fnc(f3, f3, f3); \ [all …]
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
D | rasterize.rscript | 41 triangleSetup(float3 f1, float3 f2, float3 f3) { 42 if (((f1.x - f2.x) * (f3.y - f2.y) - (f1.y - f2.y) * (f3.x - f2.x)) < 0) { 50 double d = (f1.x * (f3.y - f2.y) - f2.x * f3.y + f3.x * f2.y + (f2.x - f3.x) 57 slope[total].x = (-(f1.y * (f3.z - f2.z) - f2.y * f3.z + f3.y * f2.z + (f2.y - f3.y) * f1.z) 59 slope[total].y = ((f1.x * (f3.z - f2.z) - f2.x * f3.z + f3.x * f2.z + (f2.x - f3.x) * f1.z) 61 zoff[total] = ((f1.x * (f3.y * f2.z - f2.y * f3.z) + f1.y * (f2.x * f3.z - f3.x * f2.z) + 62 (f3.x * f2.y - f2.x * f3.y) * f1.z) / d); 66 p3[total] = f3.xy; 80 float3 f3; 91 f3.x = vert[p3]; [all …]
|
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/ |
D | math.rs.bak | 7 volatile float3 f3; 132 f3 = fnc(f3); \ 139 f3 = fnc(f3, (float3*) &f3); \ 146 f3 = fnc(f3, f3); \ 151 f3 = fnc(f3, f3); \ 158 f3 = fnc(f3, f1); \ 165 f1 = fnc(f3); \ 172 f1 = fnc(f3, f3); \ 179 f3 = fnc(f3, i3); \ 186 f3 = fnc(f3, i1); \ [all …]
|
D | math.rs.orig | 7 volatile float3 f3; 146 f3 = fnc(f3); \ 153 f3 = fnc(f3, (float3*) &f3); \ 160 f3 = fnc(f3, f3); \ 165 f3 = fnc(f3, f3); \ 172 f3 = fnc(f3, f1); \ 179 f1 = fnc(f3); \ 186 f1 = fnc(f3, f3); \ 193 f3 = fnc(f3, i3); \ 200 f3 = fnc(f3, i1); \ [all …]
|
D | math.rscript | 7 volatile float3 f3; 146 f3 = fnc(f3); \ 153 f3 = fnc(f3, (float3*) &f3); \ 160 f3 = fnc(f3, f3); \ 165 f3 = fnc(f3, f3); \ 172 f3 = fnc(f3, f1); \ 179 f1 = fnc(f3); \ 186 f1 = fnc(f3, f3); \ 193 f3 = fnc(f3, i3); \ 200 f3 = fnc(f3, i1); \ [all …]
|
D | vector.rscript | 5 float3 f3 = { 1.0f, 2.0f, 3.0f }; 51 _RS_ASSERT(f3.x == 2.99f); 52 _RS_ASSERT(f3.y == 3.99f); 53 _RS_ASSERT(f3.z == 4.99f);
|
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/ |
D | math.rscript | 7 volatile float3 f3; 146 f3 = fnc(f3); \ 153 f3 = fnc(f3, (float3*) &f3); \ 160 f3 = fnc(f3, f3); \ 165 f3 = fnc(f3, f3); \ 172 f3 = fnc(f3, f1); \ 179 f1 = fnc(f3); \ 186 f1 = fnc(f3, f3); \ 193 f3 = fnc(f3, i3); \ 200 f3 = fnc(f3, i1); \ [all …]
|
D | vector.rscript | 5 float3 f3 = { 1.0f, 2.0f, 3.0f }; 51 _RS_ASSERT(f3.x == 2.99f); 52 _RS_ASSERT(f3.y == 3.99f); 53 _RS_ASSERT(f3.z == 4.99f);
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | math.rscript | 23 volatile float3 f3; 162 f3 = fnc(f3); \ 169 f3 = fnc(f3, (float3*) &f3); \ 176 f3 = fnc(f3, f3); \ 181 f3 = fnc(f3, f3); \ 188 f3 = fnc(f3, f1); \ 195 f3 = fnc(f1, f3); \ 202 f1 = fnc(f3); \ 209 f1 = fnc(f3, f3); \ 216 f3 = fnc(f3, i3); \ [all …]
|
D | math_24.rscript | 23 volatile float3 f3; 30 f3 = fnc(f3); \
|
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/ |
D | math.rscript | 7 volatile float3 f3; 44 f3 = fnc(f3); \ 51 f3 = fnc(f3, (float3*) &f3); \ 58 f3 = fnc(f3, f3); \ 65 f3 = fnc(f3, f1); \ 72 f3 = fnc(f3, i3); \ 79 f3 = fnc(f3, i1); \ 86 f3 = fnc(f3, f3, f3); \ 93 f3 = fnc(f3, (int3*) &i3); \ 100 f3 = fnc(f3, f3, (int3*) &i3); \ [all …]
|
/frameworks/rs/tests/java_api/ComputeBenchmark/src/com/example/android/rs/computebench/ |
D | compute_benchmark.rscript | 186 RUN_BENCH(res_f_3 = fnc(src1_f_3), "f3 " #fnc "(f3)") \ 193 RUN_BENCH(res_f_3 = fnc(src1_f_3, (float3*) &src2_f_3), "f3 " #fnc "(f3, f3*)") \ 200 RUN_BENCH(res_f_3 = fnc(src1_f_3, src2_f_3), "f3 " #fnc "(f3, f3)") \ 205 RUN_BENCH(res_f_3 = fnc(src1_f_3, src2_f_3), "f3 " #fnc "(f3, f3)") \ 212 RUN_BENCH(res_f_3 = fnc(src1_f_3, src2_f_1), "f3 " #fnc "(f3, f1)") \ 219 RUN_BENCH(res_f_1 = fnc(src1_f_3), "f1 " #fnc "(f3)") \ 226 RUN_BENCH(res_f_1 = fnc(src1_f_3, src2_f_3), "f1 " #fnc "(f3, f3)") \ 233 RUN_BENCH(res_f_3 = fnc(src1_f_3, src1_i_3), "f3 " #fnc "(f3, i3)") \ 240 RUN_BENCH(res_f_3 = fnc(src1_f_3, src1_i_1), "f3 " #fnc "(f3, i1)") \ 247 RUN_BENCH(res_f_3 = fnc(src1_f_3, src2_f_3, src3_f_3), "f3 " #fnc "(f3, f3, f3)") \ [all …]
|
/frameworks/ml/nn/runtime/test/specs/V1_2/ |
D | depthwise_conv2d_v1_2.mod.py | 88 f3 = Parameter("op2", "TENSOR_FLOAT32", "{1, 2, 2, 2}", [.25, 0, .25, 1, .25, 0, .25, 1]) variable 91 Model("large").Operation("DEPTHWISE_CONV_2D", i3, f3, b3, 0, 0, 0, 0, 1, 1, 1, 0, layout).To(o3) 96 f3: ("TENSOR_QUANT8_ASYMM", 0.125, 128), 102 …f3: ("TENSOR_QUANT8_SYMM_PER_CHANNEL", 0, 0, SymmPerChannelQuantParams(channelDim=3, scales=[0.125…
|
D | conv2d_dilation.mod.py | 124 f3 = Parameter("op2", "TENSOR_FLOAT32", "{1, 2, 2, 1}", [1, 2, 3, 4]) variable 127 Model().Operation("CONV_2D", i3, f3, b3, 1, 2, 2, 0, layout, 3, 3).To(o3) 132 f3: ("TENSOR_QUANT8_ASYMM", 0.125, 0),
|
D | depthwise_conv2d_per_channel.mod.py | 53 f3 = Parameter("op2", "TENSOR_QUANT8_SYMM_PER_CHANNEL", "{1, 2, 2, 4}", variable 58 Model("layout").Operation("DEPTHWISE_CONV_2D", i3, f3, b3, 0, 0, 0, 0, 1, 1, 2, 0, layout).To(o3)
|
/frameworks/ml/nn/runtime/test/specs/V1_3/ |
D | depthwise_conv2d_quant8_signed.mod.py | 202 f3 = Parameter("op2", "TENSOR_QUANT8_SYMM_PER_CHANNEL", "{1, 2, 2, 4}", variable 207 Model("layout").Operation("DEPTHWISE_CONV_2D", i3, f3, b3, 0, 0, 0, 0, 1, 1, 2, 0, layout).To(o3) 444 f3 = Parameter("op2", "TENSOR_FLOAT32", "{1, 2, 2, 2}", [.25, 0, .25, 1, .25, 0, .25, 1]) variable 447 Model("large").Operation("DEPTHWISE_CONV_2D", i3, f3, b3, 0, 0, 0, 0, 1, 1, 1, 0, layout).To(o3) 452 f3: ("TENSOR_QUANT8_ASYMM_SIGNED", 0.125, 0), 458 …f3: ("TENSOR_QUANT8_SYMM_PER_CHANNEL", 0, 0, SymmPerChannelQuantParams(channelDim=3, scales=[0.125…
|
D | conv2d_quant8_signed.mod.py | 124 f3 = Parameter("op2", "TENSOR_FLOAT32", "{1, 2, 2, 1}", [1, 2, 3, 4]) variable 127 Model().Operation("CONV_2D", i3, f3, b3, 1, 2, 2, 0, layout, 3, 3).To(o3) 132 f3: ("TENSOR_QUANT8_ASYMM_SIGNED", 0.125, -128), 267 f3 = Parameter("op2", "TENSOR_FLOAT32", "{3, 1, 1, 3}", [0.5, 1.0, 1.5, 2.0, 2.5, 3.0, 3.5, 4.0, 4.… variable 270 Model("channel").Operation("CONV_2D", i3, f3, b3, 0, 0, 0, 0, 1, 1, 0, layout).To(o3) 275 f3: ("TENSOR_QUANT8_ASYMM_SIGNED", 0.5, -128), 281 …f3: ("TENSOR_QUANT8_SYMM_PER_CHANNEL", 0, 0, SymmPerChannelQuantParams(channelDim=0, scales=[0.5, …
|
/frameworks/base/tests/JankBench/app/src/main/jni/ |
D | Bench.cpp | 62 float f3 = 0.f; in testWork() local 76 f3 += src[i * 4 + 2] * ipk[i]; in testWork() 77 f4 += sqrtf(f1 + f2 + f3); in testWork() 81 out[2] = f3; in testWork()
|