/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
D | TestMin.rs | 24 float __attribute__((kernel)) testMinFloatFloatFloat(float inA, unsigned int x) { 26 return min(inA, inB); 29 float2 __attribute__((kernel)) testMinFloat2Float2Float2(float2 inA, unsigned int x) { 31 return min(inA, inB); 34 float3 __attribute__((kernel)) testMinFloat3Float3Float3(float3 inA, unsigned int x) { 36 return min(inA, inB); 39 float4 __attribute__((kernel)) testMinFloat4Float4Float4(float4 inA, unsigned int x) { 41 return min(inA, inB); 44 half __attribute__((kernel)) testMinHalfHalfHalf(half inA, unsigned int x) { 46 return min(inA, inB); [all …]
|
D | TestMax.rs | 24 float __attribute__((kernel)) testMaxFloatFloatFloat(float inA, unsigned int x) { 26 return max(inA, inB); 29 float2 __attribute__((kernel)) testMaxFloat2Float2Float2(float2 inA, unsigned int x) { 31 return max(inA, inB); 34 float3 __attribute__((kernel)) testMaxFloat3Float3Float3(float3 inA, unsigned int x) { 36 return max(inA, inB); 39 float4 __attribute__((kernel)) testMaxFloat4Float4Float4(float4 inA, unsigned int x) { 41 return max(inA, inB); 44 half __attribute__((kernel)) testMaxHalfHalfHalf(half inA, unsigned int x) { 46 return max(inA, inB); [all …]
|
D | TestFmax.rs | 24 float __attribute__((kernel)) testFmaxFloatFloatFloat(float inA, unsigned int x) { 26 return fmax(inA, inB); 29 float2 __attribute__((kernel)) testFmaxFloat2Float2Float2(float2 inA, unsigned int x) { 31 return fmax(inA, inB); 34 float3 __attribute__((kernel)) testFmaxFloat3Float3Float3(float3 inA, unsigned int x) { 36 return fmax(inA, inB); 39 float4 __attribute__((kernel)) testFmaxFloat4Float4Float4(float4 inA, unsigned int x) { 41 return fmax(inA, inB); 44 half __attribute__((kernel)) testFmaxHalfHalfHalf(half inA, unsigned int x) { 46 return fmax(inA, inB); [all …]
|
D | TestFmin.rs | 24 float __attribute__((kernel)) testFminFloatFloatFloat(float inA, unsigned int x) { 26 return fmin(inA, inB); 29 float2 __attribute__((kernel)) testFminFloat2Float2Float2(float2 inA, unsigned int x) { 31 return fmin(inA, inB); 34 float3 __attribute__((kernel)) testFminFloat3Float3Float3(float3 inA, unsigned int x) { 36 return fmin(inA, inB); 39 float4 __attribute__((kernel)) testFminFloat4Float4Float4(float4 inA, unsigned int x) { 41 return fmin(inA, inB); 44 half __attribute__((kernel)) testFminHalfHalfHalf(half inA, unsigned int x) { 46 return fmin(inA, inB); [all …]
|
D | TestFdim.rs | 24 float __attribute__((kernel)) testFdimFloatFloatFloat(float inA, unsigned int x) { 26 return fdim(inA, inB); 29 float2 __attribute__((kernel)) testFdimFloat2Float2Float2(float2 inA, unsigned int x) { 31 return fdim(inA, inB); 34 float3 __attribute__((kernel)) testFdimFloat3Float3Float3(float3 inA, unsigned int x) { 36 return fdim(inA, inB); 39 float4 __attribute__((kernel)) testFdimFloat4Float4Float4(float4 inA, unsigned int x) { 41 return fdim(inA, inB); 44 half __attribute__((kernel)) testFdimHalfHalfHalf(half inA, unsigned int x) { 46 return fdim(inA, inB); [all …]
|
D | TestNativeHypot.rs | 24 float __attribute__((kernel)) testNativeHypotFloatFloatFloat(float inA, unsigned int x) { 26 return native_hypot(inA, inB); 29 float2 __attribute__((kernel)) testNativeHypotFloat2Float2Float2(float2 inA, unsigned int x) { 31 return native_hypot(inA, inB); 34 float3 __attribute__((kernel)) testNativeHypotFloat3Float3Float3(float3 inA, unsigned int x) { 36 return native_hypot(inA, inB); 39 float4 __attribute__((kernel)) testNativeHypotFloat4Float4Float4(float4 inA, unsigned int x) { 41 return native_hypot(inA, inB); 44 half __attribute__((kernel)) testNativeHypotHalfHalfHalf(half inA, unsigned int x) { 46 return native_hypot(inA, inB); [all …]
|
D | TestHypot.rs | 24 float __attribute__((kernel)) testHypotFloatFloatFloat(float inA, unsigned int x) { 26 return hypot(inA, inB); 29 float2 __attribute__((kernel)) testHypotFloat2Float2Float2(float2 inA, unsigned int x) { 31 return hypot(inA, inB); 34 float3 __attribute__((kernel)) testHypotFloat3Float3Float3(float3 inA, unsigned int x) { 36 return hypot(inA, inB); 39 float4 __attribute__((kernel)) testHypotFloat4Float4Float4(float4 inA, unsigned int x) { 41 return hypot(inA, inB); 44 half __attribute__((kernel)) testHypotHalfHalfHalf(half inA, unsigned int x) { 46 return hypot(inA, inB); [all …]
|
D | TestMax.java | 48 public float inA; field in TestMax.ArgumentsFloatFloatFloat 54 …Allocation inA = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x2952d868c2162460l, fa… in checkMaxFloatFloatFloat() local 59 script.forEach_testMaxFloatFloatFloat(inA, out); in checkMaxFloatFloatFloat() 60 verifyResultsMaxFloatFloatFloat(inA, inB, out, false); in checkMaxFloatFloatFloat() 68 scriptRelaxed.forEach_testMaxFloatFloatFloat(inA, out); in checkMaxFloatFloatFloat() 69 verifyResultsMaxFloatFloatFloat(inA, inB, out, true); in checkMaxFloatFloatFloat() 74 inA.destroy(); in checkMaxFloatFloatFloat() 78 …private void verifyResultsMaxFloatFloatFloat(Allocation inA, Allocation inB, Allocation out, boole… in verifyResultsMaxFloatFloatFloat() argument 81 inA.copyTo(arrayInA); in verifyResultsMaxFloatFloatFloat() 94 args.inA = arrayInA[i]; in verifyResultsMaxFloatFloatFloat() [all …]
|
D | TestMin.java | 48 public float inA; field in TestMin.ArgumentsFloatFloatFloat 54 …Allocation inA = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xbdad0b097121573el, fa… in checkMinFloatFloatFloat() local 59 script.forEach_testMinFloatFloatFloat(inA, out); in checkMinFloatFloatFloat() 60 verifyResultsMinFloatFloatFloat(inA, inB, out, false); in checkMinFloatFloatFloat() 68 scriptRelaxed.forEach_testMinFloatFloatFloat(inA, out); in checkMinFloatFloatFloat() 69 verifyResultsMinFloatFloatFloat(inA, inB, out, true); in checkMinFloatFloatFloat() 74 inA.destroy(); in checkMinFloatFloatFloat() 78 …private void verifyResultsMinFloatFloatFloat(Allocation inA, Allocation inB, Allocation out, boole… in verifyResultsMinFloatFloatFloat() argument 81 inA.copyTo(arrayInA); in verifyResultsMinFloatFloatFloat() 94 args.inA = arrayInA[i]; in verifyResultsMinFloatFloatFloat() [all …]
|
D | TestFmax.java | 48 public float inA; field in TestFmax.ArgumentsFloatFloatFloat 54 …Allocation inA = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xe6ec75a46e6fdd7al, fa… in checkFmaxFloatFloatFloat() local 59 script.forEach_testFmaxFloatFloatFloat(inA, out); in checkFmaxFloatFloatFloat() 60 verifyResultsFmaxFloatFloatFloat(inA, inB, out, false); in checkFmaxFloatFloatFloat() 68 scriptRelaxed.forEach_testFmaxFloatFloatFloat(inA, out); in checkFmaxFloatFloatFloat() 69 verifyResultsFmaxFloatFloatFloat(inA, inB, out, true); in checkFmaxFloatFloatFloat() 74 inA.destroy(); in checkFmaxFloatFloatFloat() 78 …private void verifyResultsFmaxFloatFloatFloat(Allocation inA, Allocation inB, Allocation out, bool… in verifyResultsFmaxFloatFloatFloat() argument 81 inA.copyTo(arrayInA); in verifyResultsFmaxFloatFloatFloat() 94 args.inA = arrayInA[i]; in verifyResultsFmaxFloatFloatFloat() [all …]
|
D | TestFmin.java | 48 public float inA; field in TestFmin.ArgumentsFloatFloatFloat 54 …Allocation inA = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x7b46a8451d7b1058l, fa… in checkFminFloatFloatFloat() local 59 script.forEach_testFminFloatFloatFloat(inA, out); in checkFminFloatFloatFloat() 60 verifyResultsFminFloatFloatFloat(inA, inB, out, false); in checkFminFloatFloatFloat() 68 scriptRelaxed.forEach_testFminFloatFloatFloat(inA, out); in checkFminFloatFloatFloat() 69 verifyResultsFminFloatFloatFloat(inA, inB, out, true); in checkFminFloatFloatFloat() 74 inA.destroy(); in checkFminFloatFloatFloat() 78 …private void verifyResultsFminFloatFloatFloat(Allocation inA, Allocation inB, Allocation out, bool… in verifyResultsFminFloatFloatFloat() argument 81 inA.copyTo(arrayInA); in verifyResultsFminFloatFloatFloat() 94 args.inA = arrayInA[i]; in verifyResultsFminFloatFloatFloat() [all …]
|
D | TestHypot.java | 48 public float inA; field in TestHypot.ArgumentsFloatFloatFloat 54 …Allocation inA = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x7deb65e7738c74c4l, fa… in checkHypotFloatFloatFloat() local 59 script.forEach_testHypotFloatFloatFloat(inA, out); in checkHypotFloatFloatFloat() 60 verifyResultsHypotFloatFloatFloat(inA, inB, out, false); in checkHypotFloatFloatFloat() 68 scriptRelaxed.forEach_testHypotFloatFloatFloat(inA, out); in checkHypotFloatFloatFloat() 69 verifyResultsHypotFloatFloatFloat(inA, inB, out, true); in checkHypotFloatFloatFloat() 74 inA.destroy(); in checkHypotFloatFloatFloat() 78 …private void verifyResultsHypotFloatFloatFloat(Allocation inA, Allocation inB, Allocation out, boo… in verifyResultsHypotFloatFloatFloat() argument 81 inA.copyTo(arrayInA); in verifyResultsHypotFloatFloatFloat() 94 args.inA = arrayInA[i]; in verifyResultsHypotFloatFloatFloat() [all …]
|
D | TestFdim.java | 48 public float inA; field in TestFdim.ArgumentsFloatFloatFloat 54 …Allocation inA = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xf5dd38fbc3a47366l, fa… in checkFdimFloatFloatFloat() local 59 script.forEach_testFdimFloatFloatFloat(inA, out); in checkFdimFloatFloatFloat() 60 verifyResultsFdimFloatFloatFloat(inA, inB, out, false); in checkFdimFloatFloatFloat() 68 scriptRelaxed.forEach_testFdimFloatFloatFloat(inA, out); in checkFdimFloatFloatFloat() 69 verifyResultsFdimFloatFloatFloat(inA, inB, out, true); in checkFdimFloatFloatFloat() 74 inA.destroy(); in checkFdimFloatFloatFloat() 78 …private void verifyResultsFdimFloatFloatFloat(Allocation inA, Allocation inB, Allocation out, bool… in verifyResultsFdimFloatFloatFloat() argument 81 inA.copyTo(arrayInA); in verifyResultsFdimFloatFloatFloat() 94 args.inA = arrayInA[i]; in verifyResultsFdimFloatFloatFloat() [all …]
|
D | TestNativeHypot.java | 48 public float inA; field in TestNativeHypot.ArgumentsFloatFloatFloat 54 …Allocation inA = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x3d61f129bdf66001l, fa… in checkNativeHypotFloatFloatFloat() local 59 script.forEach_testNativeHypotFloatFloatFloat(inA, out); in checkNativeHypotFloatFloatFloat() 60 verifyResultsNativeHypotFloatFloatFloat(inA, inB, out, false); in checkNativeHypotFloatFloatFloat() 68 scriptRelaxed.forEach_testNativeHypotFloatFloatFloat(inA, out); in checkNativeHypotFloatFloatFloat() 69 verifyResultsNativeHypotFloatFloatFloat(inA, inB, out, true); in checkNativeHypotFloatFloatFloat() 74 inA.destroy(); in checkNativeHypotFloatFloatFloat() 78 …private void verifyResultsNativeHypotFloatFloatFloat(Allocation inA, Allocation inB, Allocation ou… in verifyResultsNativeHypotFloatFloatFloat() argument 81 inA.copyTo(arrayInA); in verifyResultsNativeHypotFloatFloatFloat() 94 args.inA = arrayInA[i]; in verifyResultsNativeHypotFloatFloatFloat() [all …]
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | CoreMathVerifier.java | 635 Target.Floaty inA = t.newFloaty(a); in fdim() local 637 Target.Floaty r = t.subtract(inA, inB); in fdim() 1964 Target.Floaty inA = t.new32(args.inA); in computeFdim() local 1966 Target.Floaty r = t.subtract(inA, inB); in computeFdim() 2006 Target.Floaty a = t.new32(args.inA); in computeFmax() 2009 Math.max(args.inA, args.inB), in computeFmax() 2023 Target.Floaty a = t.new32(args.inA); in computeFmin() 2026 Math.min(args.inA, args.inB), in computeFmin() 2105 args.out = hypot(args.inA, args.inB, t); in computeHypot() 2270 args.out = maxI8(args.inA, args.inB); [all …]
|