/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
TestDistance.rs | 24 float __attribute__((kernel)) testDistanceFloatFloatFloat(float inLhs, unsigned int x) { 26 return distance(inLhs, inRhs); 29 float __attribute__((kernel)) testDistanceFloat2Float2Float(float2 inLhs, unsigned int x) { 31 return distance(inLhs, inRhs); 34 float __attribute__((kernel)) testDistanceFloat3Float3Float(float3 inLhs, unsigned int x) { 36 return distance(inLhs, inRhs); 39 float __attribute__((kernel)) testDistanceFloat4Float4Float(float4 inLhs, unsigned int x) { 41 return distance(inLhs, inRhs);
|
TestDot.rs | 24 float __attribute__((kernel)) testDotFloatFloatFloat(float inLhs, unsigned int x) { 26 return dot(inLhs, inRhs); 29 float __attribute__((kernel)) testDotFloat2Float2Float(float2 inLhs, unsigned int x) { 31 return dot(inLhs, inRhs); 34 float __attribute__((kernel)) testDotFloat3Float3Float(float3 inLhs, unsigned int x) { 36 return dot(inLhs, inRhs); 39 float __attribute__((kernel)) testDotFloat4Float4Float(float4 inLhs, unsigned int x) { 41 return dot(inLhs, inRhs);
|
TestFastDistance.rs | 24 float __attribute__((kernel)) testFastDistanceFloatFloatFloat(float inLhs, unsigned int x) { 26 return fast_distance(inLhs, inRhs); 29 float __attribute__((kernel)) testFastDistanceFloat2Float2Float(float2 inLhs, unsigned int x) { 31 return fast_distance(inLhs, inRhs); 34 float __attribute__((kernel)) testFastDistanceFloat3Float3Float(float3 inLhs, unsigned int x) { 36 return fast_distance(inLhs, inRhs); 39 float __attribute__((kernel)) testFastDistanceFloat4Float4Float(float4 inLhs, unsigned int x) { 41 return fast_distance(inLhs, inRhs);
|
TestNativeDistance.rs | 24 float __attribute__((kernel)) testNativeDistanceFloatFloatFloat(float inLhs, unsigned int x) { 26 return native_distance(inLhs, inRhs); 29 float __attribute__((kernel)) testNativeDistanceFloat2Float2Float(float2 inLhs, unsigned int x) { 31 return native_distance(inLhs, inRhs); 34 float __attribute__((kernel)) testNativeDistanceFloat3Float3Float(float3 inLhs, unsigned int x) { 36 return native_distance(inLhs, inRhs); 39 float __attribute__((kernel)) testNativeDistanceFloat4Float4Float(float4 inLhs, unsigned int x) { 41 return native_distance(inLhs, inRhs);
|
TestNativeDivide.rs | 24 float __attribute__((kernel)) testNativeDivideFloatFloatFloat(float inLhs, unsigned int x) { 26 return native_divide(inLhs, inRhs); 29 float2 __attribute__((kernel)) testNativeDivideFloat2Float2Float2(float2 inLhs, unsigned int x) { 31 return native_divide(inLhs, inRhs); 34 float3 __attribute__((kernel)) testNativeDivideFloat3Float3Float3(float3 inLhs, unsigned int x) { 36 return native_divide(inLhs, inRhs); 39 float4 __attribute__((kernel)) testNativeDivideFloat4Float4Float4(float4 inLhs, unsigned int x) { 41 return native_divide(inLhs, inRhs);
|
TestCross.rs | 24 float3 __attribute__((kernel)) testCrossFloat3Float3Float3(float3 inLhs, unsigned int x) { 26 return cross(inLhs, inRhs); 29 float4 __attribute__((kernel)) testCrossFloat4Float4Float4(float4 inLhs, unsigned int x) { 31 return cross(inLhs, inRhs);
|
TestNativeDivide.java | 38 public float inLhs; 44 Allocation inLhs = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xe2845ef0c23d02del, false); 49 script.forEach_testNativeDivideFloatFloatFloat(inLhs, out); 50 verifyResultsNativeDivideFloatFloatFloat(inLhs, inRhs, out, false); 57 scriptRelaxed.forEach_testNativeDivideFloatFloatFloat(inLhs, out); 58 verifyResultsNativeDivideFloatFloatFloat(inLhs, inRhs, out, true); 64 private void verifyResultsNativeDivideFloatFloatFloat(Allocation inLhs, Allocation inRhs, Allocation out, boolean relaxed) { 66 inLhs.copyTo(arrayInLhs); 75 args.inLhs = arrayInLhs[i]; 87 message.append("Input inLhs: ") [all...] |
TestCross.java | 38 public float[] inLhs; 44 Allocation inLhs = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0xdec3726a2995edb5l, false); 49 script.forEach_testCrossFloat3Float3Float3(inLhs, out); 50 verifyResultsCrossFloat3Float3Float3(inLhs, inRhs, out, false); 57 scriptRelaxed.forEach_testCrossFloat3Float3Float3(inLhs, out); 58 verifyResultsCrossFloat3Float3Float3(inLhs, inRhs, out, true); 64 private void verifyResultsCrossFloat3Float3Float3(Allocation inLhs, Allocation inRhs, Allocation out, boolean relaxed) { 66 inLhs.copyTo(arrayInLhs); 74 args.inLhs = new float[3]; 79 args.inLhs[j] = arrayInLhs[i * 4 + j] [all...] |
TestDistance.java | 38 public float inLhs; 44 Allocation inLhs = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xf62f685ebafc5b67l, false); 49 script.forEach_testDistanceFloatFloatFloat(inLhs, out); 50 verifyResultsDistanceFloatFloatFloat(inLhs, inRhs, out, false); 57 scriptRelaxed.forEach_testDistanceFloatFloatFloat(inLhs, out); 58 verifyResultsDistanceFloatFloatFloat(inLhs, inRhs, out, true); 64 private void verifyResultsDistanceFloatFloatFloat(Allocation inLhs, Allocation inRhs, Allocation out, boolean relaxed) { 66 inLhs.copyTo(arrayInLhs); 75 args.inLhs = arrayInLhs[i]; 87 message.append("Input inLhs: ") [all...] |
TestDot.java | 38 public float inLhs; 44 Allocation inLhs = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x93a0502d7b6ecc43l, false); 49 script.forEach_testDotFloatFloatFloat(inLhs, out); 50 verifyResultsDotFloatFloatFloat(inLhs, inRhs, out, false); 57 scriptRelaxed.forEach_testDotFloatFloatFloat(inLhs, out); 58 verifyResultsDotFloatFloatFloat(inLhs, inRhs, out, true); 64 private void verifyResultsDotFloatFloatFloat(Allocation inLhs, Allocation inRhs, Allocation out, boolean relaxed) { 66 inLhs.copyTo(arrayInLhs); 75 args.inLhs = arrayInLhs[i]; 87 message.append("Input inLhs: ") [all...] |
TestFastDistance.java | 38 public float inLhs; 44 Allocation inLhs = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xfe7e5e843bff0cb7l, false); 49 script.forEach_testFastDistanceFloatFloatFloat(inLhs, out); 50 verifyResultsFastDistanceFloatFloatFloat(inLhs, inRhs, out, false); 57 scriptRelaxed.forEach_testFastDistanceFloatFloatFloat(inLhs, out); 58 verifyResultsFastDistanceFloatFloatFloat(inLhs, inRhs, out, true); 64 private void verifyResultsFastDistanceFloatFloatFloat(Allocation inLhs, Allocation inRhs, Allocation out, boolean relaxed) { 66 inLhs.copyTo(arrayInLhs); 75 args.inLhs = arrayInLhs[i]; 87 message.append("Input inLhs: ") [all...] |
TestNativeDistance.java | 38 public float inLhs; 44 Allocation inLhs = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xe0fd4252f8556ff6l, false); 49 script.forEach_testNativeDistanceFloatFloatFloat(inLhs, out); 50 verifyResultsNativeDistanceFloatFloatFloat(inLhs, inRhs, out, false); 57 scriptRelaxed.forEach_testNativeDistanceFloatFloatFloat(inLhs, out); 58 verifyResultsNativeDistanceFloatFloatFloat(inLhs, inRhs, out, true); 64 private void verifyResultsNativeDistanceFloatFloatFloat(Allocation inLhs, Allocation inRhs, Allocation out, boolean relaxed) { 66 inLhs.copyTo(arrayInLhs); 75 args.inLhs = arrayInLhs[i]; 87 message.append("Input inLhs: ") [all...] |
CoreMathVerifier.java | [all...] |