Searched refs:fnc (Results 1 – 11 of 11) sorted by relevance
/frameworks/rs/java/tests/ComputeBenchmark/src/com/example/android/rs/computebench/ |
D | compute_benchmark.rs | 121 #define BENCH_XN_FUNC_YN(typeout, fnc, typein) \ 122 RUN_BENCH(res_##typeout##_1 = fnc(src1_##typein##_1);, #typeout "1 " #fnc "(" #typein "1)") \ 123 RUN_BENCH(res_##typeout##_2 = fnc(src1_##typein##_2);, #typeout "2 " #fnc "(" #typein "2)") \ 124 RUN_BENCH(res_##typeout##_3 = fnc(src1_##typein##_3);, #typeout "3 " #fnc "(" #typein "3)") \ 125 RUN_BENCH(res_##typeout##_4 = fnc(src1_##typein##_4);, #typeout "4 " #fnc "(" #typein "4)") 127 #define BENCH_XN_FUNC_XN_XN(type, fnc) … 128 …RUN_BENCH(res_##type##_1 = fnc(src1_##type##_1, src2_##type##_1), #type "1 " #fnc "(" #type "1, " … 129 …RUN_BENCH(res_##type##_2 = fnc(src1_##type##_2, src2_##type##_2), #type "2 " #fnc "(" #type "2, " … 130 …RUN_BENCH(res_##type##_3 = fnc(src1_##type##_3, src2_##type##_3), #type "3 " #fnc "(" #type "3, " … 131 …RUN_BENCH(res_##type##_4 = fnc(src1_##type##_4, src2_##type##_4), #type "4 " #fnc "(" #type "4, " … [all …]
|
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/ |
D | math.rs.bak | 80 #define TEST_XN_FUNC_YN(typeout, fnc, typein) \ 81 res_##typeout##_1 = fnc(src1_##typein##_1); \ 82 res_##typeout##_2 = fnc(src1_##typein##_2); \ 83 res_##typeout##_3 = fnc(src1_##typein##_3); \ 84 res_##typeout##_4 = fnc(src1_##typein##_4); 86 #define TEST_XN_FUNC_XN_XN(type, fnc) \ 87 res_##type##_1 = fnc(src1_##type##_1, src2_##type##_1); \ 88 res_##type##_2 = fnc(src1_##type##_2, src2_##type##_2); \ 89 res_##type##_3 = fnc(src1_##type##_3, src2_##type##_3); \ 90 res_##type##_4 = fnc(src1_##type##_4, src2_##type##_4); [all …]
|
D | math.rs | 94 #define TEST_XN_FUNC_YN(typeout, fnc, typein) \ 95 res_##typeout##_1 = fnc(src1_##typein##_1); \ 96 res_##typeout##_2 = fnc(src1_##typein##_2); \ 97 res_##typeout##_3 = fnc(src1_##typein##_3); \ 98 res_##typeout##_4 = fnc(src1_##typein##_4); 100 #define TEST_XN_FUNC_XN_XN(type, fnc) \ 101 res_##type##_1 = fnc(src1_##type##_1, src2_##type##_1); \ 102 res_##type##_2 = fnc(src1_##type##_2, src2_##type##_2); \ 103 res_##type##_3 = fnc(src1_##type##_3, src2_##type##_3); \ 104 res_##type##_4 = fnc(src1_##type##_4, src2_##type##_4); [all …]
|
D | math.rs.orig | 94 #define TEST_XN_FUNC_YN(typeout, fnc, typein) \ 95 res_##typeout##_1 = fnc(src1_##typein##_1); \ 96 res_##typeout##_2 = fnc(src1_##typein##_2); \ 97 res_##typeout##_3 = fnc(src1_##typein##_3); \ 98 res_##typeout##_4 = fnc(src1_##typein##_4); 100 #define TEST_XN_FUNC_XN_XN(type, fnc) \ 101 res_##type##_1 = fnc(src1_##type##_1, src2_##type##_1); \ 102 res_##type##_2 = fnc(src1_##type##_2, src2_##type##_2); \ 103 res_##type##_3 = fnc(src1_##type##_3, src2_##type##_3); \ 104 res_##type##_4 = fnc(src1_##type##_4, src2_##type##_4); [all …]
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
D | math.rs | 94 #define TEST_XN_FUNC_YN(typeout, fnc, typein) \ 95 res_##typeout##_1 = fnc(src1_##typein##_1); \ 96 res_##typeout##_2 = fnc(src1_##typein##_2); \ 97 res_##typeout##_3 = fnc(src1_##typein##_3); \ 98 res_##typeout##_4 = fnc(src1_##typein##_4); 100 #define TEST_XN_FUNC_XN_XN(type, fnc) \ 101 res_##type##_1 = fnc(src1_##type##_1, src2_##type##_1); \ 102 res_##type##_2 = fnc(src1_##type##_2, src2_##type##_2); \ 103 res_##type##_3 = fnc(src1_##type##_3, src2_##type##_3); \ 104 res_##type##_4 = fnc(src1_##type##_4, src2_##type##_4); [all …]
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
D | math.rs | 94 #define TEST_XN_FUNC_YN(typeout, fnc, typein) \ 95 res_##typeout##_1 = fnc(src1_##typein##_1); \ 96 res_##typeout##_2 = fnc(src1_##typein##_2); \ 97 res_##typeout##_3 = fnc(src1_##typein##_3); \ 98 res_##typeout##_4 = fnc(src1_##typein##_4); 100 #define TEST_XN_FUNC_XN_XN(type, fnc) \ 101 res_##type##_1 = fnc(src1_##type##_1, src2_##type##_1); \ 102 res_##type##_2 = fnc(src1_##type##_2, src2_##type##_2); \ 103 res_##type##_3 = fnc(src1_##type##_3, src2_##type##_3); \ 104 res_##type##_4 = fnc(src1_##type##_4, src2_##type##_4); [all …]
|
/frameworks/compile/slang/tests/P_math_fp/ |
D | math_fp.rs | 14 #define TEST_FUNC_1(fnc) \ 15 f = fnc(f); \ 16 f2 = fnc(f2); \ 17 f3 = fnc(f3); \ 18 f4 = fnc(f4); 20 #define TEST_FUNC_1_RI(fnc) \ 21 i = fnc(f); \ 22 i2 = fnc(f2); \ 23 i3 = fnc(f3); \ 24 i4 = fnc(f4); [all …]
|
/frameworks/compile/slang/tests/P_math_int/ |
D | math_int.rs | 39 #define TEST4_1(ret, typ, fnc) \ 40 ret = fnc(typ); \ 41 ret##2 = fnc(typ##2); \ 42 ret##3 = fnc(typ##3); \ 43 ret##4 = fnc(typ##4); 45 #define TEST4_2(typ, fnc) \ 46 typ = fnc(typ, typ); \ 47 typ##2 = fnc(typ##2, typ##2); \ 48 typ##3 = fnc(typ##3, typ##3); \ 49 typ##4 = fnc(typ##4, typ##4); [all …]
|
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/ |
D | math.rs | 40 #define TEST_FN_FUNC_FN(fnc) \ 41 rsDebug("Testing " #fnc, 0); \ 42 f1 = fnc(f1); \ 43 f2 = fnc(f2); \ 44 f3 = fnc(f3); \ 45 f4 = fnc(f4); 47 #define TEST_FN_FUNC_FN_PFN(fnc) \ 48 rsDebug("Testing " #fnc, 0); \ 49 f1 = fnc(f1, (float*) &f1); \ 50 f2 = fnc(f2, (float2*) &f2); \ [all …]
|
/frameworks/rs/driver/runtime/ |
D | rs_cl.c | 24 #define FN_FUNC_FN(fnc) \ argument 25 extern float2 __attribute__((overloadable)) fnc(float2 v) { \ 27 r.x = fnc(v.x); \ 28 r.y = fnc(v.y); \ 31 extern float3 __attribute__((overloadable)) fnc(float3 v) { \ 33 r.x = fnc(v.x); \ 34 r.y = fnc(v.y); \ 35 r.z = fnc(v.z); \ 38 extern float4 __attribute__((overloadable)) fnc(float4 v) { \ 40 r.x = fnc(v.x); \ [all …]
|
/frameworks/rs/scriptc/ |
D | rs_cl.rsh | 97 #define FN_FUNC_FN(fnc) 98 #define F_FUNC_FN(fnc) 99 #define IN_FUNC_FN(fnc) 100 #define FN_FUNC_FN_FN(fnc) 101 #define F_FUNC_FN_FN(fnc) 102 #define FN_FUNC_FN_F(fnc) 103 #define FN_FUNC_FN_IN(fnc) 104 #define FN_FUNC_FN_I(fnc) 105 #define FN_FUNC_FN_PFN(fnc) 106 #define FN_FUNC_FN_PIN(fnc) [all …]
|