am 3dc6d4d3: am d07b8f2c: Merge "Additional logging to track down RSRuntimeException issues." into klp-dev
* commit '3dc6d4d356fc76a22690c0b999c13dfd8fb2e1c9':
Additional logging to track down RSRuntimeException issues.
diff --git a/tests/tests/renderscript/src/android/renderscript/cts/RSBaseCompute.java b/tests/tests/renderscript/src/android/renderscript/cts/RSBaseCompute.java
index 6eba266..d68e628 100644
--- a/tests/tests/renderscript/src/android/renderscript/cts/RSBaseCompute.java
+++ b/tests/tests/renderscript/src/android/renderscript/cts/RSBaseCompute.java
@@ -20,6 +20,7 @@
import android.renderscript.Allocation;
import android.renderscript.Element;
import android.renderscript.RSRuntimeException;
+import android.util.Log;
/**
* Base RenderScript test class. This class provides a message handler and a
@@ -98,6 +99,8 @@
try {
RSUtils.forEach(this, testid, mAllocationIn, mAllocationOut);
} catch (RSRuntimeException e) {
+ Log.e("RenderscriptCTS", "Caught RSRuntimeException: " +
+ e.getMessage());
}
float[] outArray = makeOutArray(INPUTSIZE * outStride);
mAllocationOut.copyTo(outArray);