Disable cross test in relaxed mode
bug 10667455
Due to allowing different rounding modes in relaxed
the mul & add pattern can produce large ulp errors when the
adds cancel each other. This is normal and should not
be tested.
Change-Id: I3d3fbbceb58954a5222fb5916d6a556dbad1d4b4
diff --git a/tests/tests/renderscript/src/android/renderscript/cts/CrossTest.java b/tests/tests/renderscript/src/android/renderscript/cts/CrossTest.java
index 43a036b..308f5f4 100644
--- a/tests/tests/renderscript/src/android/renderscript/cts/CrossTest.java
+++ b/tests/tests/renderscript/src/android/renderscript/cts/CrossTest.java
@@ -86,11 +86,14 @@
doF32_3(0x12345678, 0);
}
+ /*
+ Disable until we can add an absolute error metric
public void testCrossF32_3_relaxed() {
ScriptField__cross_f32_3_struct in = new ScriptField__cross_f32_3_struct(mRS, INPUTSIZE);
mIn = in.getAllocation();
doF32_3_relaxed(0x12345678, 2);
}
+ */
/**
@@ -102,10 +105,13 @@
doF32_4(0x12ac5678, 0);
}
+ /*
+ Disable until we can add an absolute error metric
public void testCrossF32_4_relaxed() {
ScriptField__cross_f32_4_struct in = new ScriptField__cross_f32_4_struct(mRS, INPUTSIZE);
mIn = in.getAllocation();
doF32_4_relaxed(0x12ac5678, 2);
}
+ */
}