Home
last modified time | relevance | path

Searched refs:dimY (Results 1 – 16 of 16) sorted by relevance

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DAllocationByteBufferTest.java36 Allocation createTypedAllocation(DataType dt, int size, int dimX, int dimY) { in createTypedAllocation() argument
39 if (dimY <= 1) { in createTypedAllocation()
42 t = Type.createXY(mRS, e, dimX, dimY); in createTypedAllocation()
48 void testByteBufferHelper(DataType dt, int byteSize, int dimX, int dimY) { in testByteBufferHelper() argument
53 byte[] data = new byte[dimX * dimY * vecWidth * byteSize]; in testByteBufferHelper()
56 Allocation alloc = createTypedAllocation(dt, size, dimX, dimY); in testByteBufferHelper()
63 int posY = r.nextInt(dimY); in testByteBufferHelper()
81 int dimY = r.nextInt(MAX_DIM) + 2; //Make sure dimY is larger than 1; in testByteBufferHelper2D() local
82 testByteBufferHelper(dt, byteSize, dimX, dimY); in testByteBufferHelper2D()
108 int dimY = r.nextInt(MAX_DIM) + 2; //Make sure dimY is larger than 1; in test2DWrite() local
[all …]
Dsingle_source_script.rs43 void testLaunchOptions(rs_allocation in, rs_allocation out, int dimX, int dimY) {
48 opts.yEnd = dimY / 2;
52 void testAllocationlessLaunch(rs_allocation inAndOut, int dimX, int dimY) {
58 opts.yEnd = dimY;
65 const uint32_t dimY = rsAllocationGetDimY(in);
67 for (int j = 0; j < dimY; j++) {
DAtomicTest.rs66 uint32_t dimY = rsAllocationGetDimY(a);
67 for (uint32_t y = 0; y < dimY; y++) {
78 uint32_t dimY = rsAllocationGetDimY(a);
79 for (uint32_t y = 0; y < dimY; y++) {
90 uint32_t dimY = rsAllocationGetDimY(a);
91 for (uint32_t y = 0; y < dimY; y++) {
102 uint32_t dimY = rsAllocationGetDimY(a);
103 for (uint32_t y = 0; y < dimY; y++) {
Dforeach.rs5 int dimY;
22 for (j = 0; j < dimY; j++) {
43 for (j = 0; j < dimY; j++) {
DTestCtxDim.rs28 uint32_t dimY = rsGetDimY(context);
29 _RS_ASSERT(gDimY == dimY);
Dnoroot.rs6 int dimY;
17 for (j = 0; j < dimY; j++) {
Dsingle_source_alloc.rs134 static void CreateAndTestAlloc(rs_data_type dt, int vecSize, int dimX, int dimY, int dimZ) {
137 if (dimZ != 0 && dimY == 0) {
162 type = rsCreateType(element, dimX, dimY, dimZ);
177 int yEnd = (dimY != 0) ? dimY: 1;
181 int val = gStart + (x + y * dimX + z * dimY * dimX);
246 int dimY = nDims > 1 ? gDimY : 0;
248 CreateAndTestAlloc(all_types[i], vecSize, gDimX, dimY, dimZ);
DSingleSourceAllocationTest.java32 private static final int dimY = 4; field in SingleSourceAllocationTest
42 s.set_gDimY(dimY); in setUp()
DReduceTest.java191 final int dimX = 450, dimY = 225; in testAddInt2D() local
193 final int[] inputArray = createInputArrayInt(dimX * dimY, 1, 1 << 13); in testAddInt2D()
195 typeBuilder.setX(dimX).setY(dimY); in testAddInt2D()
197 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray); in testAddInt2D()
388 final int dimX = 225, dimY = 450; in testFz2() local
389 final int inputLen = dimX * dimY; in testFz2()
396 typeBuilder.setX(dimX).setY(dimY); in testFz2()
398 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray); in testFz2()
411 final int dimX = 59, dimY = 48, dimZ = 37; in testFz3() local
412 final int inputLen = dimX * dimY * dimZ; in testFz3()
[all …]
Dsetelementat.rs13 uint32_t dimY = 0;
45 for (uint32_t y = 0; y < dimY; y++) {
DAllocationCreateAllocationsTest.java33 private int dimY = 1080; field in AllocationCreateAllocationsTest
38 Type t = Type.createXY(mRS, e, dimX, dimY); in createAllocationsHelper()
Dlaunchclip.rs22 int dimY;
/cts/tests/tests/rscpp/librscpptest/
Dforeach.rs5 int dimY;
22 for (j = 0; j < dimY; j++) {
43 for (j = 0; j < dimY; j++) {
Dnoroot.rs6 int dimY;
17 for (j = 0; j < dimY; j++) {
Dsetelementat.rs12 uint32_t dimY = 0;
44 for (uint32_t y = 0; y < dimY; y++) {
/cts/tests/tests/rsblas/src/android/renderscript/cts/
DIntrinsicBLAS.java354 int dimY = 1 + (mBLASData.dM - 1) * incY; in test_L2_SGEMV_Correctness() local
356 vectorYS = Allocation.createTyped(mRS, Type.createXY(mRS, Element.F32(mRS), dimY, 1)); in test_L2_SGEMV_Correctness()
361 vectorYRef = Allocation.createTyped(mRS, Type.createXY(mRS, Element.F32(mRS), dimY, 1)); in test_L2_SGEMV_Correctness()
409 int dimY = 1 + (mBLASData.dM - 1) * incY; in test_L2_DGEMV_Correctness() local
411 vectorYD = Allocation.createTyped(mRS, Type.createXY(mRS, Element.F64(mRS), dimY, 1)); in test_L2_DGEMV_Correctness()
416 vectorYRef = Allocation.createTyped(mRS, Type.createXY(mRS, Element.F64(mRS), dimY, 1)); in test_L2_DGEMV_Correctness()
464 int dimY = 1 + (mBLASData.dM - 1) * incY; in test_L2_CGEMV_Correctness() local
466 vectorYC = Allocation.createTyped(mRS, Type.createXY(mRS, Element.F32_2(mRS), dimY, 1)); in test_L2_CGEMV_Correctness()
471 vectorYRef = Allocation.createTyped(mRS, Type.createXY(mRS, Element.F32_2(mRS), dimY, 1)); in test_L2_CGEMV_Correctness()
519 int dimY = 1 + (mBLASData.dM - 1) * incY; in test_L2_ZGEMV_Correctness() local
[all …]