/frameworks/compile/slang/tests/P_reduce_general_accumulator/ |
ScriptC_reduce_general_accumulator.java.expect | 87 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length); 88 ain1.setAutoPadding(true); 89 ain1.copyFrom(in1); 91 result_int result = reduce_my_half(ain1, null); 92 result.mTempIns = new Allocation[]{ain1}; 96 // ain1 = "int val" 97 public result_int reduce_my_half(Allocation ain1) { 98 return reduce_my_half(ain1, null); 101 // ain1 = "int val" 102 public result_int reduce_my_half(Allocation ain1, Script.LaunchOptions sc) [all...] |
/frameworks/compile/slang/tests/P_reduce_general_input/ |
ScriptC_reduce_general_input.java.expect | 155 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length); 156 ain1.setAutoPadding(true); 157 ain1.copyFrom(in1); 159 result_int result = reduce_my_half_0(ain1, null); 160 result.mTempIns = new Allocation[]{ain1}; 164 // ain1 = "half in" 165 public result_int reduce_my_half_0(Allocation ain1) { 166 return reduce_my_half_0(ain1, null); 169 // ain1 = "half in" 170 public result_int reduce_my_half_0(Allocation ain1, Script.LaunchOptions sc) [all...] |
/frameworks/compile/slang/tests/P_reduce_general_result/ |
ScriptC_reduce_general_result.java.expect | [all...] |
/frameworks/compile/slang/tests/P_reduce_general_examples/ |
ScriptC_reduce_general_examples.java.expect | 208 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length); 209 ain1.setAutoPadding(true); 210 ain1.copyFrom(in1); 212 result_int result = reduce_addint(ain1, null); 213 result.mTempIns = new Allocation[]{ain1}; 217 // ain1 = "int val" 218 public result_int reduce_addint(Allocation ain1) { 219 return reduce_addint(ain1, null); 222 // ain1 = "int val" 223 public result_int reduce_addint(Allocation ain1, Script.LaunchOptions sc) [all...] |
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/ |
ScriptC_reduce_general_examples_backward.java.expect | 208 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length); 209 ain1.setAutoPadding(true); 210 ain1.copyFrom(in1); 212 result_int result = reduce_addint(ain1, null); 213 result.mTempIns = new Allocation[]{ain1}; 217 // ain1 = "int val" 218 public result_int reduce_addint(Allocation ain1) { 219 return reduce_addint(ain1, null); 222 // ain1 = "int val" 223 public result_int reduce_addint(Allocation ain1, Script.LaunchOptions sc) [all...] |
/frameworks/compile/slang/tests/P_reduce_general_duplicate_array/ |
ScriptC_reduce_general_duplicate_array.java.expect | 87 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length); 88 ain1.setAutoPadding(true); 89 ain1.copyFrom(in1); 91 resultArray4_int result = reduce_sumDec(ain1, null); 92 result.mTempIns = new Allocation[]{ain1}; 96 // ain1 = "int val" 97 public resultArray4_int reduce_sumDec(Allocation ain1) { 98 return reduce_sumDec(ain1, null); 101 // ain1 = "int val" 102 public resultArray4_int reduce_sumDec(Allocation ain1, Script.LaunchOptions sc) [all...] |
/frameworks/compile/slang/tests/P_reduce_general_inputs/ |
ScriptC_reduce_general_inputs.java.expect | 128 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length); 129 ain1.setAutoPadding(true); 130 ain1.copyFrom(in1); 143 result_int result = reduce_my_half_half_0(ain1, ain2, null); 144 result.mTempIns = new Allocation[]{ain1, ain2}; 148 // ain1 = "half a" 150 public result_int reduce_my_half_half_0(Allocation ain1, Allocation ain2) { 151 return reduce_my_half_half_0(ain1, ain2, null); 154 // ain1 = "half a" 156 public result_int reduce_my_half_half_0(Allocation ain1, Allocation ain2, Script.LaunchOptions sc) [all...] |
/frameworks/compile/slang/tests/P_reduce_general_examples_explicit/ |
ScriptC_reduce_general_examples_explicit.java.expect | 170 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length); 171 ain1.setAutoPadding(true); 172 ain1.copyFrom(in1); 174 result_int result = reduce_addint_init(ain1, null); 175 result.mTempIns = new Allocation[]{ain1}; 179 // ain1 = "int val" 180 public result_int reduce_addint_init(Allocation ain1) { 181 return reduce_addint_init(ain1, null); 184 // ain1 = "int val" 185 public result_int reduce_addint_init(Allocation ain1, Script.LaunchOptions sc) [all...] |
/frameworks/compile/slang/tests/P_reduce_general_examples_halter/ |
ScriptC_reduce_general_examples_halter.java.expect | 125 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length); 126 ain1.setAutoPadding(true); 127 ain1.copyFrom(in1); 129 result_int result = reduce_fz(ain1, null); 130 result.mTempIns = new Allocation[]{ain1}; 134 // ain1 = "int inVal" 135 public result_int reduce_fz(Allocation ain1) { 136 return reduce_fz(ain1, null); 139 // ain1 = "int inVal" 140 public result_int reduce_fz(Allocation ain1, Script.LaunchOptions sc) [all...] |
/frameworks/compile/slang/tests/P_reduce_general_struct/ |
ScriptC_reduce_general_struct.java.expect | 83 // ain1 = "/* struct <> */ val" 84 public result_int reduce_inStruct(Allocation ain1) { 85 return reduce_inStruct(ain1, null); 88 // ain1 = "/* struct <> */ val" 89 public result_int reduce_inStruct(Allocation ain1, Script.LaunchOptions sc) { 90 // check ain1 91 if (!ain1.getType().getElement().isCompatible(__ScriptField_MyStruct)) { 96 reduce(mExportReduceIdx_inStruct, new Allocation[]{ain1}, aout, sc);
|
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/ |
UT_foreach_multi.java | 27 private Allocation Ain1; 55 Ain1 = Allocation.createTyped(RS, type32Builder.create()); 56 s.set_ain1(Ain1); 57 s.forEach_init_uint32_alloc(Ain1); 97 s.forEach_sum2(Ain0, Ain1, Out0); 98 s.forEach_sum3(Ain0, Ain1, Ain2, Out1); 100 s.forEach_sum2_struct(Ain0, Ain1, Out3);
|
foreach_multi.rs | 14 rs_allocation ain0, ain1, ain2; 81 rsGetElementAt_uint(ain1, i))); 101 rsGetElementAt_uint(ain1, i) + 143 rsGetElementAt_uint(ain1, i);
|
/frameworks/rs/rsov/tests/RSoVTest/src/com/android/rs/rsov/test/ |
UT_multi_input.java | 28 private Allocation Ain1; 45 Ain1 = Allocation.createTyped(RS, floatBuilder.create()); 68 Ain1.copyFrom(b); 70 s.forEach_sum2(Ain0, Ain1, Out0); 74 float ain1[] = new float[Xdim]; local 76 Ain1.copyTo(ain1); 89 if (ain1[i] != b[i]) { 90 Log.e(name, "Ain1 was " + b[i] + " but changed to " + ain1[i]) [all...] |
/frameworks/compile/slang/ |
slang_rs_foreach_lowering.cpp | 266 For example, rsForEach(foo, ain1, ain2, aout) would be translated into 272 (rs_allocation[]){ain1, ain2, aout) // Input and output allocations 281 | `-DeclRefExpr 0x99574a08 'rs_allocation':'struct rs_allocation' lvalue ParmVar 0x9942c408 'ain1' 'rs_allocation':'struct rs_allocation'
|