Home
last modified time | relevance | path

Searched refs:typeBuilder (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
DUT_alloc_copyPadded.java91 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8_3(mRS)); in testAllocation_Byte3_1D() local
92 typeBuilder.setX(width); in testAllocation_Byte3_1D()
93 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Byte3_1D()
123 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8_3(mRS)); in testAllocation_Byte3_2D() local
124 typeBuilder.setX(width).setY(height); in testAllocation_Byte3_2D()
125 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Byte3_2D()
156 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8_3(mRS)); in testAllocation_Byte3_3D() local
157 typeBuilder.setX(w).setY(h).setZ(d); in testAllocation_Byte3_3D()
158 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Byte3_3D()
190 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I16_3(mRS)); in testAllocation_Short3_1D() local
[all …]
DUT_alloc.java32 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals() local
39 typeBuilder.setX(X).setY(Y); in initializeGlobals()
40 Allocation A = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
44 typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals()
45 typeBuilder.setX(X).setY(Y).setFaces(true); in initializeGlobals()
46 Allocation AFaces = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
48 typeBuilder.setFaces(false).setMipmaps(true); in initializeGlobals()
49 Allocation ALOD = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
51 typeBuilder.setFaces(true).setMipmaps(true); in initializeGlobals()
52 Allocation AFacesLOD = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
DUT_alloc_copy.java66 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8(mRS)); in allocation_copy1DRangeTo_Byte() local
67 typeBuilder.setX(width); in allocation_copy1DRangeTo_Byte()
68 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy1DRangeTo_Byte()
108 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I16(mRS)); in allocation_copy1DRangeTo_Short() local
109 typeBuilder.setX(width); in allocation_copy1DRangeTo_Short()
110 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy1DRangeTo_Short()
150 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS)); in allocation_copy1DRangeTo_Int() local
151 typeBuilder.setX(width); in allocation_copy1DRangeTo_Int()
152 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy1DRangeTo_Int()
192 Type.Builder typeBuilder = new Type.Builder(mRS, Element.F32(mRS)); in allocation_copy1DRangeTo_Float() local
[all …]
DUT_kernel.java35 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals() local
38 typeBuilder.setX(X); in initializeGlobals()
39 A = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
41 B = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
DUT_reduce_backward.java109 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS)); in addint2D() local
110 typeBuilder.setX(dimX).setY(dimY); in addint2D()
111 Allocation inputAllocation = Allocation.createTyped(RS, typeBuilder.create()); in addint2D()
178 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS)); in fz2() local
179 typeBuilder.setX(dimX).setY(dimY); in fz2()
180 Allocation inputAllocation = Allocation.createTyped(RS, typeBuilder.create()); in fz2()
203 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS)); in fz3() local
204 typeBuilder.setX(dimX).setY(dimY).setZ(dimZ); in fz3()
205 Allocation inputAllocation = Allocation.createTyped(RS, typeBuilder.create()); in fz3()
DUT_reduce.java109 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS)); in addint2D() local
110 typeBuilder.setX(dimX).setY(dimY); in addint2D()
111 Allocation inputAllocation = Allocation.createTyped(RS, typeBuilder.create()); in addint2D()
178 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS)); in fz2() local
179 typeBuilder.setX(dimX).setY(dimY); in fz2()
180 Allocation inputAllocation = Allocation.createTyped(RS, typeBuilder.create()); in fz2()
203 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS)); in fz3() local
204 typeBuilder.setX(dimX).setY(dimY).setZ(dimZ); in fz3()
205 Allocation inputAllocation = Allocation.createTyped(RS, typeBuilder.create()); in fz3()
DUT_refcount.java32 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals() local
35 typeBuilder.setX(X).setY(Y); in initializeGlobals()
36 Allocation A = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/
DUT_alloc_copyPadded.java91 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8_3(mRS)); in testAllocation_Byte3_1D() local
92 typeBuilder.setX(width); in testAllocation_Byte3_1D()
93 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Byte3_1D()
123 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8_3(mRS)); in testAllocation_Byte3_2D() local
124 typeBuilder.setX(width).setY(height); in testAllocation_Byte3_2D()
125 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Byte3_2D()
156 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8_3(mRS)); in testAllocation_Byte3_3D() local
157 typeBuilder.setX(w).setY(h).setZ(d); in testAllocation_Byte3_3D()
158 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in testAllocation_Byte3_3D()
190 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I16_3(mRS)); in testAllocation_Short3_1D() local
[all …]
DUT_alloc.java32 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals() local
39 typeBuilder.setX(X).setY(Y); in initializeGlobals()
40 Allocation A = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
44 typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals()
45 typeBuilder.setX(X).setY(Y).setFaces(true); in initializeGlobals()
46 Allocation AFaces = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
48 typeBuilder.setFaces(false).setMipmaps(true); in initializeGlobals()
49 Allocation ALOD = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
51 typeBuilder.setFaces(true).setMipmaps(true); in initializeGlobals()
52 Allocation AFacesLOD = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
DUT_alloc_copy.java66 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8(mRS)); in allocation_copy1DRangeTo_Byte() local
67 typeBuilder.setX(width); in allocation_copy1DRangeTo_Byte()
68 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy1DRangeTo_Byte()
108 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I16(mRS)); in allocation_copy1DRangeTo_Short() local
109 typeBuilder.setX(width); in allocation_copy1DRangeTo_Short()
110 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy1DRangeTo_Short()
150 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS)); in allocation_copy1DRangeTo_Int() local
151 typeBuilder.setX(width); in allocation_copy1DRangeTo_Int()
152 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in allocation_copy1DRangeTo_Int()
192 Type.Builder typeBuilder = new Type.Builder(mRS, Element.F32(mRS)); in allocation_copy1DRangeTo_Float() local
[all …]
DUT_kernel.java35 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals() local
38 typeBuilder.setX(X); in initializeGlobals()
39 A = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
41 B = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/
DUT_alloc.java32 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals() local
39 typeBuilder.setX(X).setY(Y); in initializeGlobals()
40 Allocation A = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
44 typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals()
45 typeBuilder.setX(X).setY(Y).setFaces(true); in initializeGlobals()
46 Allocation AFaces = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
48 typeBuilder.setFaces(false).setMipmaps(true); in initializeGlobals()
49 Allocation ALOD = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
51 typeBuilder.setFaces(true).setMipmaps(true); in initializeGlobals()
52 Allocation AFacesLOD = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
DUT_refcount.java32 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals() local
35 typeBuilder.setX(X).setY(Y); in initializeGlobals()
36 Allocation A = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
DUT_alloc.java32 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals() local
39 typeBuilder.setX(X).setY(Y); in initializeGlobals()
40 Allocation A = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
44 typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals()
45 typeBuilder.setX(X).setY(Y).setFaces(true); in initializeGlobals()
46 Allocation AFaces = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
48 typeBuilder.setFaces(false).setMipmaps(true); in initializeGlobals()
49 Allocation ALOD = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
51 typeBuilder.setFaces(true).setMipmaps(true); in initializeGlobals()
52 Allocation AFacesLOD = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
DUT_refcount.java32 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals() local
35 typeBuilder.setX(X).setY(Y); in initializeGlobals()
36 Allocation A = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
DUT_alloc.java32 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals() local
39 typeBuilder.setX(X); // Only build a 1-D version of this in initializeGlobals()
40 Allocation A = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
44 typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals()
45 typeBuilder.setX(X).setY(Y).setFaces(true); in initializeGlobals()
46 Allocation AFaces = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
48 typeBuilder.setFaces(false).setMipmaps(true); in initializeGlobals()
49 Allocation ALOD = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
51 typeBuilder.setFaces(true).setMipmaps(true); in initializeGlobals()
52 Allocation AFacesLOD = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
DUT_check_dims.java36 Type.Builder typeBuilder = new Type.Builder(RS, Element.U8(RS)); in initializeGlobals() local
37 typeBuilder.setX(1); in initializeGlobals()
38 Allocation AFailed = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
45 typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals()
48 typeBuilder.setX(X).setY(Y); in initializeGlobals()
49 mA = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
DUT_kernel3d.java35 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals() local
38 typeBuilder.setX(X); in initializeGlobals()
41 typeBuilder.setY(Y); in initializeGlobals()
44 typeBuilder.setZ(Z); in initializeGlobals()
46 A = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
48 B = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
DUT_kernel2d_oldstyle.java35 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals() local
38 typeBuilder.setX(X); in initializeGlobals()
41 typeBuilder.setY(Y); in initializeGlobals()
43 A = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
45 B = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
DUT_kernel2d.java35 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals() local
38 typeBuilder.setX(X); in initializeGlobals()
41 typeBuilder.setY(Y); in initializeGlobals()
43 A = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
45 B = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
DUT_kernel.java35 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals() local
38 typeBuilder.setX(X); in initializeGlobals()
39 A = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
41 B = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
DUT_ctxt_default.java35 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals() local
38 typeBuilder.setX(X); in initializeGlobals()
40 A = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
42 B = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
DUT_fp16.java36 Type.Builder typeBuilder = new Type.Builder(RS, e); in initializeGlobals() local
39 typeBuilder.setX(dimX); in initializeGlobals()
42 typeBuilder.setX(dimX).setY(dimY); in initializeGlobals()
45 typeBuilder.setX(dimX).setY(dimY).setZ(dimZ); in initializeGlobals()
48 alloc = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
DUT_reduce_backward.java119 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS)); in addint2D() local
120 typeBuilder.setX(dimX).setY(dimY); in addint2D()
121 Allocation inputAllocation = Allocation.createTyped(RS, typeBuilder.create()); in addint2D()
194 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS)); in fz2() local
195 typeBuilder.setX(dimX).setY(dimY); in fz2()
196 Allocation inputAllocation = Allocation.createTyped(RS, typeBuilder.create()); in fz2()
219 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS)); in fz3() local
220 typeBuilder.setX(dimX).setY(dimY).setZ(dimZ); in fz3()
221 Allocation inputAllocation = Allocation.createTyped(RS, typeBuilder.create()); in fz3()
DUT_refcount.java32 Type.Builder typeBuilder = new Type.Builder(RS, Element.I32(RS)); in initializeGlobals() local
35 typeBuilder.setX(X).setY(Y); in initializeGlobals()
36 Allocation A = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()

12