Home
last modified time | relevance | path

Searched refs:INPUTSIZE (Results 1 – 25 of 135) sorted by relevance

123456

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DAllocationResize.java41 mIn = Allocation.createSized(mRS, Element.I32(mRS), INPUTSIZE/2); in testResize()
42 mOut = Allocation.createSized(mRS, Element.I32(mRS), INPUTSIZE*2); in testResize()
43 mIn.resize(INPUTSIZE); in testResize()
44 mOut.resize(INPUTSIZE); in testResize()
47 int[] outArray = new int[INPUTSIZE]; in testResize()
48 int[] inArray = new int[INPUTSIZE]; in testResize()
49 for (int i = 0; i < INPUTSIZE; i++) { in testResize()
52 mIn.copy1DRangeFrom(0, INPUTSIZE, inArray); in testResize()
60 for (int i = 0; i < INPUTSIZE; i++) { in testResize()
DInitTest.java35 float[] ref = new float[INPUTSIZE]; in testInitTest()
36 float[] in = new float[INPUTSIZE]; in testInitTest()
37 float[] out = new float[INPUTSIZE]; in testInitTest()
38 mIn = Allocation.createSized(mRS, Element.F32(mRS), INPUTSIZE); in testInitTest()
39 mOut= Allocation.createSized(mRS, Element.F32(mRS), INPUTSIZE); in testInitTest()
40 for (int i = 0 ;i < INPUTSIZE; i++) { in testInitTest()
45 mIn.copy1DRangeFrom(0, INPUTSIZE, in); in testInitTest()
52 checkArray(ref, out, INPUTSIZE, 1, 1, 0); in testInitTest()
DRSBaseCompute.java31 protected int INPUTSIZE = 512; field in RSBaseCompute
114 Allocation alloc = Allocation.createSized(rs, element, INPUTSIZE); in createRandomAllocation()
117 double[] inArray = new double[INPUTSIZE * width]; in createRandomAllocation()
122 alloc.copy1DRangeFrom(0, INPUTSIZE, inArray); in createRandomAllocation()
124 float[] inArray = new float[INPUTSIZE * width]; in createRandomAllocation()
129 alloc.copy1DRangeFrom(0, INPUTSIZE, inArray); in createRandomAllocation()
131 short[] inArray = new short[INPUTSIZE * width]; in createRandomAllocation()
137 long[] inArray = new long[INPUTSIZE * width]; in createRandomAllocation()
139 alloc.copy1DRangeFrom(0, INPUTSIZE, inArray); in createRandomAllocation()
141 long[] inArray = new long[INPUTSIZE * width]; in createRandomAllocation()
[all …]
DRsPackColorTo8888Test.java75 Allocation mAllocationIn = Allocation.createSized(mRS, Element.F32_3(mRS), INPUTSIZE); in float3input()
76 Allocation mAllocationOut = Allocation.createSized(mRS, Element.U8_4(mRS), INPUTSIZE); in float3input()
77 float[] inArray = new float[INPUTSIZE * 4]; in float3input()
78 byte[] outArray = new byte[INPUTSIZE * 4]; in float3input()
79 byte[] refArray = new byte[INPUTSIZE * 4]; in float3input()
81 mAllocationIn.copy1DRangeFrom(0, INPUTSIZE, inArray); in float3input()
105 Allocation mAllocationIn = Allocation.createSized(mRS, Element.F32_4(mRS), INPUTSIZE); in float4input()
106 Allocation mAllocationOut = Allocation.createSized(mRS, Element.U8_4(mRS), INPUTSIZE); in float4input()
107 float[] inArray = new float[INPUTSIZE * 4]; in float4input()
108 byte[] outArray = new byte[INPUTSIZE * 4]; in float4input()
[all …]
DGetElementAt.java74 setupArrays(INPUTSIZE); in testX()
76 gIn = Allocation.createSized(mRS, Element.U32(mRS), INPUTSIZE); in testX()
85 for (int k = 0; k < INPUTSIZE; ++k) { in testX()
91 setupArrays(INPUTSIZE*INPUTSIZE); in testXY()
94 builder.setX(INPUTSIZE); in testXY()
95 builder.setY(INPUTSIZE); in testXY()
106 for (int k = 0; k < INPUTSIZE*INPUTSIZE; ++k) { in testXY()
/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/
DTestRemquo.java58 …tQuotient = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_32, 1), INPUTSIZE); in checkRemquoFloatFloatIntFloat()
59 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); in checkRemquoFloatFloatIntFloat()
70 …tQuotient = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_32, 1), INPUTSIZE); in checkRemquoFloatFloatIntFloat()
71 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); in checkRemquoFloatFloatIntFloat()
86 float[] arrayInNumerator = new float[INPUTSIZE * 1]; in verifyResultsRemquoFloatFloatIntFloat()
89 float[] arrayInDenominator = new float[INPUTSIZE * 1]; in verifyResultsRemquoFloatFloatIntFloat()
92 int[] arrayOutQuotient = new int[INPUTSIZE * 1]; in verifyResultsRemquoFloatFloatIntFloat()
95 float[] arrayOut = new float[INPUTSIZE * 1]; in verifyResultsRemquoFloatFloatIntFloat()
100 for (int i = 0; i < INPUTSIZE; i++) { in verifyResultsRemquoFloatFloatIntFloat()
147 …tQuotient = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_32, 2), INPUTSIZE); in checkRemquoFloat2Float2Int2Float2()
[all …]
DTestClamp.java60 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); in checkClampFloatFloatFloatFloat()
70 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); in checkClampFloatFloatFloatFloat()
85 float[] arrayInValue = new float[INPUTSIZE * 1]; in verifyResultsClampFloatFloatFloatFloat()
88 float[] arrayInMinValue = new float[INPUTSIZE * 1]; in verifyResultsClampFloatFloatFloatFloat()
91 float[] arrayInMaxValue = new float[INPUTSIZE * 1]; in verifyResultsClampFloatFloatFloatFloat()
94 float[] arrayOut = new float[INPUTSIZE * 1]; in verifyResultsClampFloatFloatFloatFloat()
99 for (int i = 0; i < INPUTSIZE; i++) { in verifyResultsClampFloatFloatFloatFloat()
155 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); in checkClampFloat2Float2Float2Float2()
165 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); in checkClampFloat2Float2Float2Float2()
180 float[] arrayInValue = new float[INPUTSIZE * 2]; in verifyResultsClampFloat2Float2Float2Float2()
[all …]
DTestMin.java57 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); in checkMinFloatFloatFloat()
66 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); in checkMinFloatFloatFloat()
79 float[] arrayInA = new float[INPUTSIZE * 1]; in verifyResultsMinFloatFloatFloat()
82 float[] arrayInB = new float[INPUTSIZE * 1]; in verifyResultsMinFloatFloatFloat()
85 float[] arrayOut = new float[INPUTSIZE * 1]; in verifyResultsMinFloatFloatFloat()
90 for (int i = 0; i < INPUTSIZE; i++) { in verifyResultsMinFloatFloatFloat()
140 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); in checkMinFloat2Float2Float2()
149 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); in checkMinFloat2Float2Float2()
162 float[] arrayInA = new float[INPUTSIZE * 2]; in verifyResultsMinFloat2Float2Float2()
165 float[] arrayInB = new float[INPUTSIZE * 2]; in verifyResultsMinFloat2Float2Float2()
[all …]
DTestMax.java57 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); in checkMaxFloatFloatFloat()
66 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); in checkMaxFloatFloatFloat()
79 float[] arrayInA = new float[INPUTSIZE * 1]; in verifyResultsMaxFloatFloatFloat()
82 float[] arrayInB = new float[INPUTSIZE * 1]; in verifyResultsMaxFloatFloatFloat()
85 float[] arrayOut = new float[INPUTSIZE * 1]; in verifyResultsMaxFloatFloatFloat()
90 for (int i = 0; i < INPUTSIZE; i++) { in verifyResultsMaxFloatFloatFloat()
140 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); in checkMaxFloat2Float2Float2()
149 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); in checkMaxFloat2Float2Float2()
162 float[] arrayInA = new float[INPUTSIZE * 2]; in verifyResultsMaxFloat2Float2Float2()
165 float[] arrayInB = new float[INPUTSIZE * 2]; in verifyResultsMaxFloat2Float2Float2()
[all …]
DTestConvert.java55 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); in checkConvertFloat2Float2()
63 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); in checkConvertFloat2Float2()
74 float[] arrayInV = new float[INPUTSIZE * 2]; in verifyResultsConvertFloat2Float2()
77 float[] arrayOut = new float[INPUTSIZE * 2]; in verifyResultsConvertFloat2Float2()
82 for (int i = 0; i < INPUTSIZE; i++) { in verifyResultsConvertFloat2Float2()
127 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE); in checkConvertFloat3Float3()
135 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE); in checkConvertFloat3Float3()
146 float[] arrayInV = new float[INPUTSIZE * 4]; in verifyResultsConvertFloat3Float3()
149 float[] arrayOut = new float[INPUTSIZE * 4]; in verifyResultsConvertFloat3Float3()
154 for (int i = 0; i < INPUTSIZE; i++) { in verifyResultsConvertFloat3Float3()
[all …]
DTestSincos.java56 …ion outCos = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); in checkSincosFloatFloatFloat()
57 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); in checkSincosFloatFloatFloat()
67 …ion outCos = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); in checkSincosFloatFloatFloat()
68 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); in checkSincosFloatFloatFloat()
81 float[] arrayInV = new float[INPUTSIZE * 1]; in verifyResultsSincosFloatFloatFloat()
84 float[] arrayOutCos = new float[INPUTSIZE * 1]; in verifyResultsSincosFloatFloatFloat()
87 float[] arrayOut = new float[INPUTSIZE * 1]; in verifyResultsSincosFloatFloatFloat()
92 for (int i = 0; i < INPUTSIZE; i++) { in verifyResultsSincosFloatFloatFloat()
149 …ion outCos = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); in checkSincosFloat2Float2Float2()
150 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); in checkSincosFloat2Float2Float2()
[all …]
DTestNativeSincos.java56 …ion outCos = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); in checkNativeSincosFloatFloatFloat()
57 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); in checkNativeSincosFloatFloatFloat()
67 …ion outCos = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); in checkNativeSincosFloatFloatFloat()
68 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); in checkNativeSincosFloatFloatFloat()
81 float[] arrayInV = new float[INPUTSIZE * 1]; in verifyResultsNativeSincosFloatFloatFloat()
84 float[] arrayOutCos = new float[INPUTSIZE * 1]; in verifyResultsNativeSincosFloatFloatFloat()
87 float[] arrayOut = new float[INPUTSIZE * 1]; in verifyResultsNativeSincosFloatFloatFloat()
92 for (int i = 0; i < INPUTSIZE; i++) { in verifyResultsNativeSincosFloatFloatFloat()
149 …ion outCos = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); in checkNativeSincosFloat2Float2Float2()
150 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); in checkNativeSincosFloat2Float2Float2()
[all …]
DTestLgamma.java55 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); in checkLgammaFloatFloat()
63 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); in checkLgammaFloatFloat()
74 float[] arrayInV = new float[INPUTSIZE * 1]; in verifyResultsLgammaFloatFloat()
77 float[] arrayOut = new float[INPUTSIZE * 1]; in verifyResultsLgammaFloatFloat()
82 for (int i = 0; i < INPUTSIZE; i++) { in verifyResultsLgammaFloatFloat()
127 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); in checkLgammaFloat2Float2()
135 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); in checkLgammaFloat2Float2()
146 float[] arrayInV = new float[INPUTSIZE * 2]; in verifyResultsLgammaFloat2Float2()
149 float[] arrayOut = new float[INPUTSIZE * 2]; in verifyResultsLgammaFloat2Float2()
154 for (int i = 0; i < INPUTSIZE; i++) { in verifyResultsLgammaFloat2Float2()
[all …]
DTestClz.java55 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_8, 1), INPUTSIZE); in checkClzCharChar()
63 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_8, 1), INPUTSIZE); in checkClzCharChar()
74 byte[] arrayInValue = new byte[INPUTSIZE * 1]; in verifyResultsClzCharChar()
77 byte[] arrayOut = new byte[INPUTSIZE * 1]; in verifyResultsClzCharChar()
82 for (int i = 0; i < INPUTSIZE; i++) { in verifyResultsClzCharChar()
126 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_8, 2), INPUTSIZE); in checkClzChar2Char2()
134 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_8, 2), INPUTSIZE); in checkClzChar2Char2()
145 byte[] arrayInValue = new byte[INPUTSIZE * 2]; in verifyResultsClzChar2Char2()
148 byte[] arrayOut = new byte[INPUTSIZE * 2]; in verifyResultsClzChar2Char2()
153 for (int i = 0; i < INPUTSIZE; i++) { in verifyResultsClzChar2Char2()
[all …]
DTestFract.java56 …n outFloor = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); in checkFractFloatFloatFloat()
57 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); in checkFractFloatFloatFloat()
67 …n outFloor = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); in checkFractFloatFloatFloat()
68 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); in checkFractFloatFloatFloat()
81 float[] arrayInV = new float[INPUTSIZE * 1]; in verifyResultsFractFloatFloatFloat()
84 float[] arrayOutFloor = new float[INPUTSIZE * 1]; in verifyResultsFractFloatFloatFloat()
87 float[] arrayOut = new float[INPUTSIZE * 1]; in verifyResultsFractFloatFloatFloat()
92 for (int i = 0; i < INPUTSIZE; i++) { in verifyResultsFractFloatFloatFloat()
149 …n outFloor = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); in checkFractFloat2Float2Float2()
150 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); in checkFractFloat2Float2Float2()
[all …]
DTestAbs.java55 …tion out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.UNSIGNED_8, 1), INPUTSIZE); in checkAbsCharUchar()
63 …tion out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.UNSIGNED_8, 1), INPUTSIZE); in checkAbsCharUchar()
74 byte[] arrayInV = new byte[INPUTSIZE * 1]; in verifyResultsAbsCharUchar()
77 byte[] arrayOut = new byte[INPUTSIZE * 1]; in verifyResultsAbsCharUchar()
82 for (int i = 0; i < INPUTSIZE; i++) { in verifyResultsAbsCharUchar()
126 …tion out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.UNSIGNED_8, 2), INPUTSIZE); in checkAbsChar2Uchar2()
134 …tion out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.UNSIGNED_8, 2), INPUTSIZE); in checkAbsChar2Uchar2()
145 byte[] arrayInV = new byte[INPUTSIZE * 2]; in verifyResultsAbsChar2Uchar2()
148 byte[] arrayOut = new byte[INPUTSIZE * 2]; in verifyResultsAbsChar2Uchar2()
153 for (int i = 0; i < INPUTSIZE; i++) { in verifyResultsAbsChar2Uchar2()
[all …]
DTestFrexp.java56 …tExponent = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_32, 1), INPUTSIZE); in checkFrexpFloatIntFloat()
57 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); in checkFrexpFloatIntFloat()
67 …tExponent = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_32, 1), INPUTSIZE); in checkFrexpFloatIntFloat()
68 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); in checkFrexpFloatIntFloat()
81 float[] arrayInV = new float[INPUTSIZE * 1]; in verifyResultsFrexpFloatIntFloat()
84 int[] arrayOutExponent = new int[INPUTSIZE * 1]; in verifyResultsFrexpFloatIntFloat()
87 float[] arrayOut = new float[INPUTSIZE * 1]; in verifyResultsFrexpFloatIntFloat()
92 for (int i = 0; i < INPUTSIZE; i++) { in verifyResultsFrexpFloatIntFloat()
149 …tExponent = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_32, 2), INPUTSIZE); in checkFrexpFloat2Int2Float2()
150 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); in checkFrexpFloat2Int2Float2()
[all …]
DTestModf.java56 …tegralPart = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); in checkModfFloatFloatFloat()
57 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); in checkModfFloatFloatFloat()
67 …tegralPart = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); in checkModfFloatFloatFloat()
68 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); in checkModfFloatFloatFloat()
81 float[] arrayInV = new float[INPUTSIZE * 1]; in verifyResultsModfFloatFloatFloat()
84 float[] arrayOutIntegralPart = new float[INPUTSIZE * 1]; in verifyResultsModfFloatFloatFloat()
87 float[] arrayOut = new float[INPUTSIZE * 1]; in verifyResultsModfFloatFloatFloat()
92 for (int i = 0; i < INPUTSIZE; i++) { in verifyResultsModfFloatFloatFloat()
149 …tegralPart = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); in checkModfFloat2Float2Float2()
150 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); in checkModfFloat2Float2Float2()
[all …]
DTestNativeTan.java55 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); in checkNativeTanFloatFloat()
63 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); in checkNativeTanFloatFloat()
74 float[] arrayInV = new float[INPUTSIZE * 1]; in verifyResultsNativeTanFloatFloat()
77 float[] arrayOut = new float[INPUTSIZE * 1]; in verifyResultsNativeTanFloatFloat()
82 for (int i = 0; i < INPUTSIZE; i++) { in verifyResultsNativeTanFloatFloat()
127 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); in checkNativeTanFloat2Float2()
135 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); in checkNativeTanFloat2Float2()
146 float[] arrayInV = new float[INPUTSIZE * 2]; in verifyResultsNativeTanFloat2Float2()
149 float[] arrayOut = new float[INPUTSIZE * 2]; in verifyResultsNativeTanFloat2Float2()
154 for (int i = 0; i < INPUTSIZE; i++) { in verifyResultsNativeTanFloat2Float2()
[all …]
DTestNativeTanpi.java55 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); in checkNativeTanpiFloatFloat()
63 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); in checkNativeTanpiFloatFloat()
74 float[] arrayInV = new float[INPUTSIZE * 1]; in verifyResultsNativeTanpiFloatFloat()
77 float[] arrayOut = new float[INPUTSIZE * 1]; in verifyResultsNativeTanpiFloatFloat()
82 for (int i = 0; i < INPUTSIZE; i++) { in verifyResultsNativeTanpiFloatFloat()
127 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); in checkNativeTanpiFloat2Float2()
135 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); in checkNativeTanpiFloat2Float2()
146 float[] arrayInV = new float[INPUTSIZE * 2]; in verifyResultsNativeTanpiFloat2Float2()
149 float[] arrayOut = new float[INPUTSIZE * 2]; in verifyResultsNativeTanpiFloat2Float2()
154 for (int i = 0; i < INPUTSIZE; i++) { in verifyResultsNativeTanpiFloat2Float2()
[all …]
DTestNativeExpm1.java55 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); in checkNativeExpm1FloatFloat()
63 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); in checkNativeExpm1FloatFloat()
74 float[] arrayInV = new float[INPUTSIZE * 1]; in verifyResultsNativeExpm1FloatFloat()
77 float[] arrayOut = new float[INPUTSIZE * 1]; in verifyResultsNativeExpm1FloatFloat()
82 for (int i = 0; i < INPUTSIZE; i++) { in verifyResultsNativeExpm1FloatFloat()
127 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); in checkNativeExpm1Float2Float2()
135 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); in checkNativeExpm1Float2Float2()
146 float[] arrayInV = new float[INPUTSIZE * 2]; in verifyResultsNativeExpm1Float2Float2()
149 float[] arrayOut = new float[INPUTSIZE * 2]; in verifyResultsNativeExpm1Float2Float2()
154 for (int i = 0; i < INPUTSIZE; i++) { in verifyResultsNativeExpm1Float2Float2()
[all …]
DTestFma.java59 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); in checkFmaFloatFloatFloatFloat()
69 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); in checkFmaFloatFloatFloatFloat()
84 float[] arrayInMultiplicand1 = new float[INPUTSIZE * 1]; in verifyResultsFmaFloatFloatFloatFloat()
87 float[] arrayInMultiplicand2 = new float[INPUTSIZE * 1]; in verifyResultsFmaFloatFloatFloatFloat()
90 float[] arrayInOffset = new float[INPUTSIZE * 1]; in verifyResultsFmaFloatFloatFloatFloat()
93 float[] arrayOut = new float[INPUTSIZE * 1]; in verifyResultsFmaFloatFloatFloatFloat()
98 for (int i = 0; i < INPUTSIZE; i++) { in verifyResultsFmaFloatFloatFloatFloat()
153 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); in checkFmaFloat2Float2Float2Float2()
163 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); in checkFmaFloat2Float2Float2Float2()
178 float[] arrayInMultiplicand1 = new float[INPUTSIZE * 2]; in verifyResultsFmaFloat2Float2Float2Float2()
[all …]
DTestMad.java59 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); in checkMadFloatFloatFloatFloat()
69 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); in checkMadFloatFloatFloatFloat()
84 float[] arrayInMultiplicand1 = new float[INPUTSIZE * 1]; in verifyResultsMadFloatFloatFloatFloat()
87 float[] arrayInMultiplicand2 = new float[INPUTSIZE * 1]; in verifyResultsMadFloatFloatFloatFloat()
90 float[] arrayInOffset = new float[INPUTSIZE * 1]; in verifyResultsMadFloatFloatFloatFloat()
93 float[] arrayOut = new float[INPUTSIZE * 1]; in verifyResultsMadFloatFloatFloatFloat()
98 for (int i = 0; i < INPUTSIZE; i++) { in verifyResultsMadFloatFloatFloatFloat()
153 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); in checkMadFloat2Float2Float2Float2()
163 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); in checkMadFloat2Float2Float2Float2()
178 float[] arrayInMultiplicand1 = new float[INPUTSIZE * 2]; in verifyResultsMadFloat2Float2Float2Float2()
[all …]
DTestIlogb.java55 …ation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_32, 1), INPUTSIZE); in checkIlogbFloatInt()
63 …ation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_32, 1), INPUTSIZE); in checkIlogbFloatInt()
74 float[] arrayInV = new float[INPUTSIZE * 1]; in verifyResultsIlogbFloatInt()
77 int[] arrayOut = new int[INPUTSIZE * 1]; in verifyResultsIlogbFloatInt()
82 for (int i = 0; i < INPUTSIZE; i++) { in verifyResultsIlogbFloatInt()
119 …ation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_32, 2), INPUTSIZE); in checkIlogbFloat2Int2()
127 …ation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_32, 2), INPUTSIZE); in checkIlogbFloat2Int2()
138 float[] arrayInV = new float[INPUTSIZE * 2]; in verifyResultsIlogbFloat2Int2()
141 int[] arrayOut = new int[INPUTSIZE * 2]; in verifyResultsIlogbFloat2Int2()
146 for (int i = 0; i < INPUTSIZE; i++) { in verifyResultsIlogbFloat2Int2()
[all …]
DTestStep.java57 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); in checkStepFloatFloatFloat()
66 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); in checkStepFloatFloatFloat()
79 float[] arrayInEdge = new float[INPUTSIZE * 1]; in verifyResultsStepFloatFloatFloat()
82 float[] arrayInV = new float[INPUTSIZE * 1]; in verifyResultsStepFloatFloatFloat()
85 float[] arrayOut = new float[INPUTSIZE * 1]; in verifyResultsStepFloatFloatFloat()
90 for (int i = 0; i < INPUTSIZE; i++) { in verifyResultsStepFloatFloatFloat()
140 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); in checkStepFloat2Float2Float2()
149 …cation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); in checkStepFloat2Float2Float2()
162 float[] arrayInEdge = new float[INPUTSIZE * 2]; in verifyResultsStepFloat2Float2Float2()
165 float[] arrayInV = new float[INPUTSIZE * 2]; in verifyResultsStepFloat2Float2Float2()
[all …]

123456