/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
D | UT_reduce.java | 267 Allocation inputAllocation = Allocation.createSized(RS, Element.I32(RS), inputArray.length); in addint1D() local 271 inputAllocation.copyFrom(inputArray); in addint1D() 274 final int rsRslt = s.reduce_addint(inputAllocation).get(); in addint1D() 280 copyTimeStart, kernelTimeStart, rsTimeEnd, inputAllocation), in addint1D() 282 inputAllocation.destroy(); in addint1D() 300 Allocation inputAllocation = Allocation.createTyped(RS, typeBuilder.create()); in addint2D() local 304 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray); in addint2D() 307 final int rsRslt = s.reduce_addint(inputAllocation).get(); in addint2D() 313 copyTimeStart, kernelTimeStart, rsTimeEnd, inputAllocation), in addint2D() 315 inputAllocation.destroy(); in addint2D() [all …]
|
D | UT_reduce_backward.java | 121 Allocation inputAllocation = Allocation.createTyped(RS, typeBuilder.create()); in addint2D() local 122 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray); in addint2D() 125 final int rsRslt = s.reduce_addint(inputAllocation).get(); in addint2D() 196 Allocation inputAllocation = Allocation.createTyped(RS, typeBuilder.create()); in fz2() local 197 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray); in fz2() 199 final Int2 rsRslt = s.reduce_fz2(inputAllocation).get(); in fz2() 221 Allocation inputAllocation = Allocation.createTyped(RS, typeBuilder.create()); in fz3() local 222 inputAllocation.copy3DRangeFrom(0, 0, 0, dimX, dimY, dimZ, inputArray); in fz3() 224 final Int3 rsRslt = s.reduce_fz3(inputAllocation).get(); in fz3() 239 Allocation inputAllocation = Allocation.createSized(RS, Element.U8(RS), inputArray.length); in histogram() local [all …]
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
D | UT_reduce_backward.java | 111 Allocation inputAllocation = Allocation.createTyped(RS, typeBuilder.create()); in addint2D() local 112 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray); in addint2D() 115 final int rsRslt = s.reduce_addint(inputAllocation).get(); in addint2D() 180 Allocation inputAllocation = Allocation.createTyped(RS, typeBuilder.create()); in fz2() local 181 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray); in fz2() 183 final Int2 rsRslt = s.reduce_fz2(inputAllocation).get(); in fz2() 205 Allocation inputAllocation = Allocation.createTyped(RS, typeBuilder.create()); in fz3() local 206 inputAllocation.copy3DRangeFrom(0, 0, 0, dimX, dimY, dimZ, inputArray); in fz3() 208 final Int3 rsRslt = s.reduce_fz3(inputAllocation).get(); in fz3() 223 Allocation inputAllocation = Allocation.createSized(RS, Element.U8(RS), inputArray.length); in histogram() local [all …]
|
D | UT_reduce.java | 111 Allocation inputAllocation = Allocation.createTyped(RS, typeBuilder.create()); in addint2D() local 112 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray); in addint2D() 115 final int rsRslt = s.reduce_addint(inputAllocation).get(); in addint2D() 180 Allocation inputAllocation = Allocation.createTyped(RS, typeBuilder.create()); in fz2() local 181 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray); in fz2() 183 final Int2 rsRslt = s.reduce_fz2(inputAllocation).get(); in fz2() 205 Allocation inputAllocation = Allocation.createTyped(RS, typeBuilder.create()); in fz3() local 206 inputAllocation.copy3DRangeFrom(0, 0, 0, dimX, dimY, dimZ, inputArray); in fz3() 208 final Int3 rsRslt = s.reduce_fz3(inputAllocation).get(); in fz3() 223 Allocation inputAllocation = Allocation.createSized(RS, Element.U8(RS), inputArray.length); in histogram() local [all …]
|