/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
D | TestConvert.rscript | 23 float2 __attribute__((kernel)) testConvertFloat2Float2Float2(float2 inV) { 24 return convert_float2(inV); 27 float3 __attribute__((kernel)) testConvertFloat3Float3Float3(float3 inV) { 28 return convert_float3(inV); 31 float4 __attribute__((kernel)) testConvertFloat4Float4Float4(float4 inV) { 32 return convert_float4(inV); 35 float2 __attribute__((kernel)) testConvertFloat2Char2Float2(char2 inV) { 36 return convert_float2(inV); 39 float3 __attribute__((kernel)) testConvertFloat3Char3Float3(char3 inV) { 40 return convert_float3(inV); [all …]
|
D | TestAbs.rscript | 23 uchar __attribute__((kernel)) testAbsCharUchar(char inV) { 24 return abs(inV); 27 uchar2 __attribute__((kernel)) testAbsChar2Uchar2(char2 inV) { 28 return abs(inV); 31 uchar3 __attribute__((kernel)) testAbsChar3Uchar3(char3 inV) { 32 return abs(inV); 35 uchar4 __attribute__((kernel)) testAbsChar4Uchar4(char4 inV) { 36 return abs(inV); 39 ushort __attribute__((kernel)) testAbsShortUshort(short inV) { 40 return abs(inV); [all …]
|
D | TestFract.rscript | 24 float __attribute__((kernel)) testFractFloatFloatFloat(float inV, unsigned int x) { 26 float out = fract(inV, &outFloor); 31 float2 __attribute__((kernel)) testFractFloat2Float2Float2(float2 inV, unsigned int x) { 33 float2 out = fract(inV, &outFloor); 38 float3 __attribute__((kernel)) testFractFloat3Float3Float3(float3 inV, unsigned int x) { 40 float3 out = fract(inV, &outFloor); 45 float4 __attribute__((kernel)) testFractFloat4Float4Float4(float4 inV, unsigned int x) { 47 float4 out = fract(inV, &outFloor); 52 float __attribute__((kernel)) testFractFloatFloat(float inV) { 53 return fract(inV); [all …]
|
D | TestStep.rscript | 25 float inV = rsGetElementAt_float(gAllocInV, x); 26 return step(inEdge, inV); 30 float2 inV = rsGetElementAt_float2(gAllocInV, x); 31 return step(inEdge, inV); 35 float3 inV = rsGetElementAt_float3(gAllocInV, x); 36 return step(inEdge, inV); 40 float4 inV = rsGetElementAt_float4(gAllocInV, x); 41 return step(inEdge, inV); 45 half inV = rsGetElementAt_half(gAllocInV, x); 46 return step(inEdge, inV); [all …]
|
D | TestAbs.java | 48 public byte inV; field in TestAbs.ArgumentsCharUchar 53 …Allocation inV = createRandomAllocation(mRS, Element.DataType.SIGNED_8, 1, 0x79257810f7393ea6l, fa… in checkAbsCharUchar() local 56 script.forEach_testAbsCharUchar(inV, out); in checkAbsCharUchar() 57 verifyResultsAbsCharUchar(inV, out, false); in checkAbsCharUchar() 64 scriptRelaxed.forEach_testAbsCharUchar(inV, out); in checkAbsCharUchar() 65 verifyResultsAbsCharUchar(inV, out, true); in checkAbsCharUchar() 70 inV.destroy(); in checkAbsCharUchar() 73 private void verifyResultsAbsCharUchar(Allocation inV, Allocation out, boolean relaxed) { in verifyResultsAbsCharUchar() argument 76 inV.copyTo(arrayInV); in verifyResultsAbsCharUchar() 86 args.inV = arrayInV[i]; in verifyResultsAbsCharUchar() [all …]
|
D | TestNativeTan.java | 48 public float inV; field in TestNativeTan.ArgumentsFloatFloat 53 …Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x62e3c32037b34543l, fa… in checkNativeTanFloatFloat() local 56 script.forEach_testNativeTanFloatFloat(inV, out); in checkNativeTanFloatFloat() 57 verifyResultsNativeTanFloatFloat(inV, out, false); in checkNativeTanFloatFloat() 64 scriptRelaxed.forEach_testNativeTanFloatFloat(inV, out); in checkNativeTanFloatFloat() 65 verifyResultsNativeTanFloatFloat(inV, out, true); in checkNativeTanFloatFloat() 70 inV.destroy(); in checkNativeTanFloatFloat() 73 private void verifyResultsNativeTanFloatFloat(Allocation inV, Allocation out, boolean relaxed) { in verifyResultsNativeTanFloatFloat() argument 76 inV.copyTo(arrayInV); in verifyResultsNativeTanFloatFloat() 86 args.inV = arrayInV[i]; in verifyResultsNativeTanFloatFloat() [all …]
|
D | TestNativeTanpi.java | 48 public float inV; field in TestNativeTanpi.ArgumentsFloatFloat 53 …Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x88f565b6d39357f6l, fa… in checkNativeTanpiFloatFloat() local 56 script.forEach_testNativeTanpiFloatFloat(inV, out); in checkNativeTanpiFloatFloat() 57 verifyResultsNativeTanpiFloatFloat(inV, out, false); in checkNativeTanpiFloatFloat() 64 scriptRelaxed.forEach_testNativeTanpiFloatFloat(inV, out); in checkNativeTanpiFloatFloat() 65 verifyResultsNativeTanpiFloatFloat(inV, out, true); in checkNativeTanpiFloatFloat() 70 inV.destroy(); in checkNativeTanpiFloatFloat() 73 … private void verifyResultsNativeTanpiFloatFloat(Allocation inV, Allocation out, boolean relaxed) { in verifyResultsNativeTanpiFloatFloat() argument 76 inV.copyTo(arrayInV); in verifyResultsNativeTanpiFloatFloat() 86 args.inV = arrayInV[i]; in verifyResultsNativeTanpiFloatFloat() [all …]
|
D | TestNativeExpm1.java | 48 public float inV; field in TestNativeExpm1.ArgumentsFloatFloat 53 …Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x7a90bd8a7094f34bl, fa… in checkNativeExpm1FloatFloat() local 56 script.forEach_testNativeExpm1FloatFloat(inV, out); in checkNativeExpm1FloatFloat() 57 verifyResultsNativeExpm1FloatFloat(inV, out, false); in checkNativeExpm1FloatFloat() 64 scriptRelaxed.forEach_testNativeExpm1FloatFloat(inV, out); in checkNativeExpm1FloatFloat() 65 verifyResultsNativeExpm1FloatFloat(inV, out, true); in checkNativeExpm1FloatFloat() 70 inV.destroy(); in checkNativeExpm1FloatFloat() 73 … private void verifyResultsNativeExpm1FloatFloat(Allocation inV, Allocation out, boolean relaxed) { in verifyResultsNativeExpm1FloatFloat() argument 76 inV.copyTo(arrayInV); in verifyResultsNativeExpm1FloatFloat() 86 args.inV = arrayInV[i]; in verifyResultsNativeExpm1FloatFloat() [all …]
|
D | TestTanpi.rscript | 23 float __attribute__((kernel)) testTanpiFloatFloat(float inV) { 24 return tanpi(inV); 27 float2 __attribute__((kernel)) testTanpiFloat2Float2(float2 inV) { 28 return tanpi(inV); 31 float3 __attribute__((kernel)) testTanpiFloat3Float3(float3 inV) { 32 return tanpi(inV); 35 float4 __attribute__((kernel)) testTanpiFloat4Float4(float4 inV) { 36 return tanpi(inV); 39 half __attribute__((kernel)) testTanpiHalfHalf(half inV) { 40 return tanpi(inV); [all …]
|
D | TestLogb.rscript | 23 float __attribute__((kernel)) testLogbFloatFloat(float inV) { 24 return logb(inV); 27 float2 __attribute__((kernel)) testLogbFloat2Float2(float2 inV) { 28 return logb(inV); 31 float3 __attribute__((kernel)) testLogbFloat3Float3(float3 inV) { 32 return logb(inV); 35 float4 __attribute__((kernel)) testLogbFloat4Float4(float4 inV) { 36 return logb(inV); 39 half __attribute__((kernel)) testLogbHalfHalf(half inV) { 40 return logb(inV); [all …]
|
D | TestNativeNormalize.rscript | 23 float __attribute__((kernel)) testNativeNormalizeFloatFloat(float inV) { 24 return native_normalize(inV); 27 float2 __attribute__((kernel)) testNativeNormalizeFloat2Float2(float2 inV) { 28 return native_normalize(inV); 31 float3 __attribute__((kernel)) testNativeNormalizeFloat3Float3(float3 inV) { 32 return native_normalize(inV); 35 float4 __attribute__((kernel)) testNativeNormalizeFloat4Float4(float4 inV) { 36 return native_normalize(inV); 39 half __attribute__((kernel)) testNativeNormalizeHalfHalf(half inV) { 40 return native_normalize(inV); [all …]
|
D | TestTanh.rscript | 23 float __attribute__((kernel)) testTanhFloatFloat(float inV) { 24 return tanh(inV); 27 float2 __attribute__((kernel)) testTanhFloat2Float2(float2 inV) { 28 return tanh(inV); 31 float3 __attribute__((kernel)) testTanhFloat3Float3(float3 inV) { 32 return tanh(inV); 35 float4 __attribute__((kernel)) testTanhFloat4Float4(float4 inV) { 36 return tanh(inV); 39 half __attribute__((kernel)) testTanhHalfHalf(half inV) { 40 return tanh(inV); [all …]
|
D | TestNativeSin.rscript | 23 float __attribute__((kernel)) testNativeSinFloatFloat(float inV) { 24 return native_sin(inV); 27 float2 __attribute__((kernel)) testNativeSinFloat2Float2(float2 inV) { 28 return native_sin(inV); 31 float3 __attribute__((kernel)) testNativeSinFloat3Float3(float3 inV) { 32 return native_sin(inV); 35 float4 __attribute__((kernel)) testNativeSinFloat4Float4(float4 inV) { 36 return native_sin(inV); 39 half __attribute__((kernel)) testNativeSinHalfHalf(half inV) { 40 return native_sin(inV); [all …]
|
D | TestTgamma.rscript | 23 float __attribute__((kernel)) testTgammaFloatFloat(float inV) { 24 return tgamma(inV); 27 float2 __attribute__((kernel)) testTgammaFloat2Float2(float2 inV) { 28 return tgamma(inV); 31 float3 __attribute__((kernel)) testTgammaFloat3Float3(float3 inV) { 32 return tgamma(inV); 35 float4 __attribute__((kernel)) testTgammaFloat4Float4(float4 inV) { 36 return tgamma(inV); 39 half __attribute__((kernel)) testTgammaHalfHalf(half inV) { 40 return tgamma(inV); [all …]
|
D | TestAtanpi.rscript | 23 float __attribute__((kernel)) testAtanpiFloatFloat(float inV) { 24 return atanpi(inV); 27 float2 __attribute__((kernel)) testAtanpiFloat2Float2(float2 inV) { 28 return atanpi(inV); 31 float3 __attribute__((kernel)) testAtanpiFloat3Float3(float3 inV) { 32 return atanpi(inV); 35 float4 __attribute__((kernel)) testAtanpiFloat4Float4(float4 inV) { 36 return atanpi(inV); 39 half __attribute__((kernel)) testAtanpiHalfHalf(half inV) { 40 return atanpi(inV); [all …]
|
D | TestErf.rscript | 23 float __attribute__((kernel)) testErfFloatFloat(float inV) { 24 return erf(inV); 27 float2 __attribute__((kernel)) testErfFloat2Float2(float2 inV) { 28 return erf(inV); 31 float3 __attribute__((kernel)) testErfFloat3Float3(float3 inV) { 32 return erf(inV); 35 float4 __attribute__((kernel)) testErfFloat4Float4(float4 inV) { 36 return erf(inV); 39 half __attribute__((kernel)) testErfHalfHalf(half inV) { 40 return erf(inV); [all …]
|
D | TestAsin.rscript | 23 float __attribute__((kernel)) testAsinFloatFloat(float inV) { 24 return asin(inV); 27 float2 __attribute__((kernel)) testAsinFloat2Float2(float2 inV) { 28 return asin(inV); 31 float3 __attribute__((kernel)) testAsinFloat3Float3(float3 inV) { 32 return asin(inV); 35 float4 __attribute__((kernel)) testAsinFloat4Float4(float4 inV) { 36 return asin(inV); 39 half __attribute__((kernel)) testAsinHalfHalf(half inV) { 40 return asin(inV); [all …]
|
D | TestTrunc.rscript | 23 float __attribute__((kernel)) testTruncFloatFloat(float inV) { 24 return trunc(inV); 27 float2 __attribute__((kernel)) testTruncFloat2Float2(float2 inV) { 28 return trunc(inV); 31 float3 __attribute__((kernel)) testTruncFloat3Float3(float3 inV) { 32 return trunc(inV); 35 float4 __attribute__((kernel)) testTruncFloat4Float4(float4 inV) { 36 return trunc(inV); 39 half __attribute__((kernel)) testTruncHalfHalf(half inV) { 40 return trunc(inV); [all …]
|
D | TestExp2.rscript | 23 float __attribute__((kernel)) testExp2FloatFloat(float inV) { 24 return exp2(inV); 27 float2 __attribute__((kernel)) testExp2Float2Float2(float2 inV) { 28 return exp2(inV); 31 float3 __attribute__((kernel)) testExp2Float3Float3(float3 inV) { 32 return exp2(inV); 35 float4 __attribute__((kernel)) testExp2Float4Float4(float4 inV) { 36 return exp2(inV); 39 half __attribute__((kernel)) testExp2HalfHalf(half inV) { 40 return exp2(inV); [all …]
|
D | TestNativeAsin.rscript | 23 float __attribute__((kernel)) testNativeAsinFloatFloat(float inV) { 24 return native_asin(inV); 27 float2 __attribute__((kernel)) testNativeAsinFloat2Float2(float2 inV) { 28 return native_asin(inV); 31 float3 __attribute__((kernel)) testNativeAsinFloat3Float3(float3 inV) { 32 return native_asin(inV); 35 float4 __attribute__((kernel)) testNativeAsinFloat4Float4(float4 inV) { 36 return native_asin(inV); 39 half __attribute__((kernel)) testNativeAsinHalfHalf(half inV) { 40 return native_asin(inV); [all …]
|
D | TestNativeAtanh.rscript | 23 float __attribute__((kernel)) testNativeAtanhFloatFloat(float inV) { 24 return native_atanh(inV); 27 float2 __attribute__((kernel)) testNativeAtanhFloat2Float2(float2 inV) { 28 return native_atanh(inV); 31 float3 __attribute__((kernel)) testNativeAtanhFloat3Float3(float3 inV) { 32 return native_atanh(inV); 35 float4 __attribute__((kernel)) testNativeAtanhFloat4Float4(float4 inV) { 36 return native_atanh(inV); 39 half __attribute__((kernel)) testNativeAtanhHalfHalf(half inV) { 40 return native_atanh(inV); [all …]
|
D | TestNativeTanpi.rscript | 23 float __attribute__((kernel)) testNativeTanpiFloatFloat(float inV) { 24 return native_tanpi(inV); 27 float2 __attribute__((kernel)) testNativeTanpiFloat2Float2(float2 inV) { 28 return native_tanpi(inV); 31 float3 __attribute__((kernel)) testNativeTanpiFloat3Float3(float3 inV) { 32 return native_tanpi(inV); 35 float4 __attribute__((kernel)) testNativeTanpiFloat4Float4(float4 inV) { 36 return native_tanpi(inV); 39 half __attribute__((kernel)) testNativeTanpiHalfHalf(half inV) { 40 return native_tanpi(inV); [all …]
|
D | TestNativeAtan.rscript | 23 float __attribute__((kernel)) testNativeAtanFloatFloat(float inV) { 24 return native_atan(inV); 27 float2 __attribute__((kernel)) testNativeAtanFloat2Float2(float2 inV) { 28 return native_atan(inV); 31 float3 __attribute__((kernel)) testNativeAtanFloat3Float3(float3 inV) { 32 return native_atan(inV); 35 float4 __attribute__((kernel)) testNativeAtanFloat4Float4(float4 inV) { 36 return native_atan(inV); 39 half __attribute__((kernel)) testNativeAtanHalfHalf(half inV) { 40 return native_atan(inV); [all …]
|
D | TestLog10.rscript | 23 float __attribute__((kernel)) testLog10FloatFloat(float inV) { 24 return log10(inV); 27 float2 __attribute__((kernel)) testLog10Float2Float2(float2 inV) { 28 return log10(inV); 31 float3 __attribute__((kernel)) testLog10Float3Float3(float3 inV) { 32 return log10(inV); 35 float4 __attribute__((kernel)) testLog10Float4Float4(float4 inV) { 36 return log10(inV); 39 half __attribute__((kernel)) testLog10HalfHalf(half inV) { 40 return log10(inV); [all …]
|
D | TestExpm1.rscript | 23 float __attribute__((kernel)) testExpm1FloatFloat(float inV) { 24 return expm1(inV); 27 float2 __attribute__((kernel)) testExpm1Float2Float2(float2 inV) { 28 return expm1(inV); 31 float3 __attribute__((kernel)) testExpm1Float3Float3(float3 inV) { 32 return expm1(inV); 35 float4 __attribute__((kernel)) testExpm1Float4Float4(float4 inV) { 36 return expm1(inV); 39 half __attribute__((kernel)) testExpm1HalfHalf(half inV) { 40 return expm1(inV); [all …]
|