HomeSort by relevance Sort by last modified time
    Searched defs:dimY (Results 1 - 5 of 5) sorted by null

  /cts/tests/tests/renderscript/src/android/renderscript/cts/
AllocationCreateAllocationsTest.java 33 private int dimY = 1080;
38 Type t = Type.createXY(mRS, e, dimX, dimY);
SingleSourceAllocationTest.java 32 private static final int dimY = 4;
42 s.set_gDimY(dimY);
AllocationByteBufferTest.java 36 Allocation createTypedAllocation(DataType dt, int size, int dimX, int dimY) {
39 if (dimY <= 1) {
42 t = Type.createXY(mRS, e, dimX, dimY);
48 void testByteBufferHelper(DataType dt, int byteSize, int dimX, int dimY) {
53 byte[] data = new byte[dimX * dimY * vecWidth * byteSize];
56 Allocation alloc = createTypedAllocation(dt, size, dimX, dimY);
63 int posY = r.nextInt(dimY);
81 int dimY = r.nextInt(MAX_DIM) + 2; //Make sure dimY is larger than 1;
82 testByteBufferHelper(dt, byteSize, dimX, dimY);
    [all...]
ReduceTest.java 191 final int dimX = 450, dimY = 225;
193 final int[] inputArray = createInputArrayInt(dimX * dimY, 1, 1 << 13);
195 typeBuilder.setX(dimX).setY(dimY);
197 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray);
388 final int dimX = 225, dimY = 450;
389 final int inputLen = dimX * dimY;
396 typeBuilder.setX(dimX).setY(dimY);
398 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray);
411 final int dimX = 59, dimY = 48, dimZ = 37;
412 final int inputLen = dimX * dimY * dimZ
    [all...]
  /cts/tests/tests/rsblas/src/android/renderscript/cts/
IntrinsicBLAS.java 354 int dimY = 1 + (mBLASData.dM - 1) * incY;
356 vectorYS = Allocation.createTyped(mRS, Type.createXY(mRS, Element.F32(mRS), dimY, 1));
361 vectorYRef = Allocation.createTyped(mRS, Type.createXY(mRS, Element.F32(mRS), dimY, 1));
409 int dimY = 1 + (mBLASData.dM - 1) * incY;
411 vectorYD = Allocation.createTyped(mRS, Type.createXY(mRS, Element.F64(mRS), dimY, 1));
416 vectorYRef = Allocation.createTyped(mRS, Type.createXY(mRS, Element.F64(mRS), dimY, 1));
464 int dimY = 1 + (mBLASData.dM - 1) * incY;
466 vectorYC = Allocation.createTyped(mRS, Type.createXY(mRS, Element.F32_2(mRS), dimY, 1));
471 vectorYRef = Allocation.createTyped(mRS, Type.createXY(mRS, Element.F32_2(mRS), dimY, 1));
519 int dimY = 1 + (mBLASData.dM - 1) * incY
    [all...]

Completed in 102 milliseconds