/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | float16_arithmetic.rs | 6 half RS_KERNEL add(int x, int y) { 7 half a = rsGetElementAt_half(gInput, x); 8 half b = rsGetElementAt_half(gInput, y); 12 half RS_KERNEL sub(int x, int y) { 13 half a = rsGetElementAt_half(gInput, x); 14 half b = rsGetElementAt_half(gInput, y); 18 half RS_KERNEL mul(int x, int y) { 19 half a = rsGetElementAt_half(gInput, x); 20 half b = rsGetElementAt_half(gInput, y); 24 half RS_KERNEL div(int x, int y) { [all …]
|
D | float16_gen.c | 30 typedef __fp16 half; typedef 111 half h = *(half *) &s; in half2float() 117 half h = (half) f; in float2half() 130 half hValue = *(half *) &value; in getErrorBar() 131 half ulp; in getErrorBar() 144 ulp = *(half *) &ulpInShort; in getErrorBar() 154 half hA = *(half *) &a; in getErrorBar() 155 half hB = *(half *) &b; in getErrorBar() 160 half lb = hValue - tolerance * ulp; in getErrorBar() 161 half ub = hValue + tolerance * ulp; in getErrorBar()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
D | TestLength.rs | 39 half __attribute__((kernel)) testLengthHalfHalf(half inV) { 43 half __attribute__((kernel)) testLengthHalf2Half(half2 inV) { 47 half __attribute__((kernel)) testLengthHalf3Half(half3 inV) { 51 half __attribute__((kernel)) testLengthHalf4Half(half4 inV) {
|
D | TestNativeLength.rs | 39 half __attribute__((kernel)) testNativeLengthHalfHalf(half inV) { 43 half __attribute__((kernel)) testNativeLengthHalf2Half(half2 inV) { 47 half __attribute__((kernel)) testNativeLengthHalf3Half(half3 inV) { 51 half __attribute__((kernel)) testNativeLengthHalf4Half(half4 inV) {
|
D | TestDistance.rs | 44 half __attribute__((kernel)) testDistanceHalfHalfHalf(half inLeftVector, unsigned int x) { 45 half inRightVector = rsGetElementAt_half(gAllocInRightVector, x); 49 half __attribute__((kernel)) testDistanceHalf2Half2Half(half2 inLeftVector, unsigned int x) { 54 half __attribute__((kernel)) testDistanceHalf3Half3Half(half3 inLeftVector, unsigned int x) { 59 half __attribute__((kernel)) testDistanceHalf4Half4Half(half4 inLeftVector, unsigned int x) {
|
D | TestNativeDistance.rs | 44 half __attribute__((kernel)) testNativeDistanceHalfHalfHalf(half inLeftVector, unsigned int x) { 45 half inRightVector = rsGetElementAt_half(gAllocInRightVector, x); 49 half __attribute__((kernel)) testNativeDistanceHalf2Half2Half(half2 inLeftVector, unsigned int x) { 54 half __attribute__((kernel)) testNativeDistanceHalf3Half3Half(half3 inLeftVector, unsigned int x) { 59 half __attribute__((kernel)) testNativeDistanceHalf4Half4Half(half4 inLeftVector, unsigned int x) {
|
D | TestDot.rs | 44 half __attribute__((kernel)) testDotHalfHalfHalf(half inLeftVector, unsigned int x) { 45 half inRightVector = rsGetElementAt_half(gAllocInRightVector, x); 49 half __attribute__((kernel)) testDotHalf2Half2Half(half2 inLeftVector, unsigned int x) { 54 half __attribute__((kernel)) testDotHalf3Half3Half(half3 inLeftVector, unsigned int x) { 59 half __attribute__((kernel)) testDotHalf4Half4Half(half4 inLeftVector, unsigned int x) {
|
D | TestStep.rs | 44 half __attribute__((kernel)) testStepHalfHalfHalf(half inEdge, unsigned int x) { 45 half inV = rsGetElementAt_half(gAllocInV, x); 80 half inV = rsGetElementAt_half(gAllocInV, x); 85 half inV = rsGetElementAt_half(gAllocInV, x); 90 half inV = rsGetElementAt_half(gAllocInV, x); 109 half2 __attribute__((kernel)) testStepHalfHalf2Half2(half inEdge, unsigned int x) { 114 half3 __attribute__((kernel)) testStepHalfHalf3Half3(half inEdge, unsigned int x) { 119 half4 __attribute__((kernel)) testStepHalfHalf4Half4(half inEdge, unsigned int x) {
|
D | TestFract.rs | 68 half __attribute__((kernel)) testFractHalfHalfHalf(half inV, unsigned int x) { 69 half outFloor = 0; 70 half out = fract(inV, &outFloor); 96 half __attribute__((kernel)) testFractHalfHalf(half inV) {
|
D | TestMix.rs | 49 half __attribute__((kernel)) testMixHalfHalfHalfHalf(half inStart, unsigned int x) { 50 half inStop = rsGetElementAt_half(gAllocInStop, x); 51 half inFraction = rsGetElementAt_half(gAllocInFraction, x); 93 half inFraction = rsGetElementAt_half(gAllocInFraction, x); 99 half inFraction = rsGetElementAt_half(gAllocInFraction, x); 105 half inFraction = rsGetElementAt_half(gAllocInFraction, x);
|
D | TestFmin.rs | 44 half __attribute__((kernel)) testFminHalfHalfHalf(half inA, unsigned int x) { 45 half inB = rsGetElementAt_half(gAllocInB, x); 80 half inB = rsGetElementAt_half(gAllocInB, x); 85 half inB = rsGetElementAt_half(gAllocInB, x); 90 half inB = rsGetElementAt_half(gAllocInB, x);
|
D | TestFmax.rs | 44 half __attribute__((kernel)) testFmaxHalfHalfHalf(half inA, unsigned int x) { 45 half inB = rsGetElementAt_half(gAllocInB, x); 80 half inB = rsGetElementAt_half(gAllocInB, x); 85 half inB = rsGetElementAt_half(gAllocInB, x); 90 half inB = rsGetElementAt_half(gAllocInB, x);
|
D | TestSincos.rs | 52 half __attribute__((kernel)) testSincosHalfHalfHalf(half inV, unsigned int x) { 53 half outCos = 0; 54 half out = sincos(inV, &outCos);
|
D | TestNativeSincos.rs | 52 half __attribute__((kernel)) testNativeSincosHalfHalfHalf(half inV, unsigned int x) { 53 half outCos = 0; 54 half out = native_sincos(inV, &outCos);
|
D | TestFma.rs | 49 half __attribute__((kernel)) testFmaHalfHalfHalfHalf(half inMultiplicand1, unsigned int x) { 50 half inMultiplicand2 = rsGetElementAt_half(gAllocInMultiplicand2, x); 51 half inOffset = rsGetElementAt_half(gAllocInOffset, x);
|
D | TestMad.rs | 49 half __attribute__((kernel)) testMadHalfHalfHalfHalf(half inMultiplicand1, unsigned int x) { 50 half inMultiplicand2 = rsGetElementAt_half(gAllocInMultiplicand2, x); 51 half inOffset = rsGetElementAt_half(gAllocInOffset, x);
|
D | TestPowr.rs | 44 half __attribute__((kernel)) testPowrHalfHalfHalf(half inBase, unsigned int x) { 45 half inExponent = rsGetElementAt_half(gAllocInExponent, x);
|
D | TestCopysign.rs | 44 half __attribute__((kernel)) testCopysignHalfHalfHalf(half inMagnitudeValue, unsigned int x) { 45 half inSignValue = rsGetElementAt_half(gAllocInSignValue, x);
|
D | TestAtan2pi.rs | 44 half __attribute__((kernel)) testAtan2piHalfHalfHalf(half inNumerator, unsigned int x) { 45 half inDenominator = rsGetElementAt_half(gAllocInDenominator, x);
|
D | TestAtan2.rs | 44 half __attribute__((kernel)) testAtan2HalfHalfHalf(half inNumerator, unsigned int x) { 45 half inDenominator = rsGetElementAt_half(gAllocInDenominator, x);
|
D | TestPow.rs | 44 half __attribute__((kernel)) testPowHalfHalfHalf(half inBase, unsigned int x) { 45 half inExponent = rsGetElementAt_half(gAllocInExponent, x);
|
D | TestHypot.rs | 44 half __attribute__((kernel)) testHypotHalfHalfHalf(half inA, unsigned int x) { 45 half inB = rsGetElementAt_half(gAllocInB, x);
|
D | TestRemainder.rs | 44 half __attribute__((kernel)) testRemainderHalfHalfHalf(half inNumerator, unsigned int x) { 45 half inDenominator = rsGetElementAt_half(gAllocInDenominator, x);
|
D | TestNativeAtan2pi.rs | 44 half __attribute__((kernel)) testNativeAtan2piHalfHalfHalf(half inNumerator, unsigned int x) { 45 half inDenominator = rsGetElementAt_half(gAllocInDenominator, x);
|
D | TestNativeDivide.rs | 44 half __attribute__((kernel)) testNativeDivideHalfHalfHalf(half inLeftVector, unsigned int x) { 45 half inRightVector = rsGetElementAt_half(gAllocInRightVector, x);
|