Home
last modified time | relevance | path

Searched refs:rsRslt (Results 1 – 4 of 4) sorted by relevance

/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
DUT_reduce_backward.java69 private <T extends Number> boolean result(String testName, T javaRslt, T rsRslt) { in result() argument
70 final boolean success = javaRslt.equals(rsRslt); in result()
72 testName + ": java " + javaRslt + ", rs " + rsRslt + ": " + in result()
77 private boolean result(String testName, Float2 javaRslt, Float2 rsRslt) { in result() argument
78 final boolean success = (javaRslt.x == rsRslt.x) && (javaRslt.y == rsRslt.y); in result()
82 ", rs (" + rsRslt.x + ", " + rsRslt.y + ")" + in result()
87 private boolean result(String testName, Int2 javaRslt, Int2 rsRslt) { in result() argument
88 final boolean success = (javaRslt.x == rsRslt.x) && (javaRslt.y == rsRslt.y); in result()
92 ", rs (" + rsRslt.x + ", " + rsRslt.y + ")" + in result()
110 final int rsRslt = s.reduce_addint(input).get(); in addint1D() local
[all …]
DUT_reduce.java158 T javaRslt, T rsRslt) { in result() argument
159 final boolean success = javaRslt.equals(rsRslt); in result()
163 Log.i(TAG, testName + ": java " + javaRslt + ", rs " + rsRslt + ": " + status); in result()
168 final float[] javaRslt, final float[] rsRslt) { in result() argument
169 if (javaRslt.length != rsRslt.length) { in result()
171 ", rs length " + rsRslt.length + ": FAILED"); in result()
175 if (javaRslt[i] != rsRslt[i]) { in result()
177 ", rs " + rsRslt[i] + ": FAILED"); in result()
189 final long[] javaRslt, final long[] rsRslt) { in result() argument
190 if (javaRslt.length != rsRslt.length) { in result()
[all …]
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
DUT_reduce_backward.java69 private <T extends Number> boolean result(String testName, T javaRslt, T rsRslt) { in result() argument
70 final boolean success = javaRslt.equals(rsRslt); in result()
72 testName + ": java " + javaRslt + ", rs " + rsRslt + ": " + in result()
77 private boolean result(String testName, Int2 javaRslt, Int2 rsRslt) { in result() argument
78 final boolean success = (javaRslt.x == rsRslt.x) && (javaRslt.y == rsRslt.y); in result()
82 ", rs (" + rsRslt.x + ", " + rsRslt.y + ")" + in result()
100 final int rsRslt = s.reduce_addint(input).get(); in addint1D() local
102 return result("addint1D", javaRslt, rsRslt); in addint1D()
115 final int rsRslt = s.reduce_addint(inputAllocation).get(); in addint2D() local
117 return result("addint2D", javaRslt, rsRslt); in addint2D()
[all …]
DUT_reduce.java69 private <T extends Number> boolean result(String testName, T javaRslt, T rsRslt) { in result() argument
70 final boolean success = javaRslt.equals(rsRslt); in result()
72 testName + ": java " + javaRslt + ", rs " + rsRslt + ": " + in result()
77 private boolean result(String testName, Int2 javaRslt, Int2 rsRslt) { in result() argument
78 final boolean success = (javaRslt.x == rsRslt.x) && (javaRslt.y == rsRslt.y); in result()
82 ", rs (" + rsRslt.x + ", " + rsRslt.y + ")" + in result()
100 final int rsRslt = s.reduce_addint(input).get(); in addint1D() local
102 return result("addint1D", javaRslt, rsRslt); in addint1D()
115 final int rsRslt = s.reduce_addint(inputAllocation).get(); in addint2D() local
117 return result("addint2D", javaRslt, rsRslt); in addint2D()
[all …]