Home
last modified time | relevance | path

Searched refs:l2Norm (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/rsblas/src/android/renderscript/cts/
Dverify.rscript77 static bool verify_CMatrix(rs_allocation in1, rs_allocation in2, double l2Norm, bool isUpperMatrix)…
90 if (absErr > l2Norm * gAllowedFloatMatError) {
101 static bool verify_SMatrix(rs_allocation in1, rs_allocation in2, double l2Norm, bool isUpperMatrix)…
114 if (absErr > l2Norm * gAllowedFloatMatError) {
125 static bool verify_ZMatrix(rs_allocation in1, rs_allocation in2, double l2Norm, bool isUpperMatrix)…
138 if (absErr > l2Norm * gAllowedDoubleMatError) {
149 static bool verify_DMatrix(rs_allocation in1, rs_allocation in2, double l2Norm, bool isUpperMatrix)…
162 if (absErr > l2Norm * gAllowedDoubleMatError) {
173 void verifyMatrix(rs_allocation ref_in, rs_allocation tst_in, double l2Norm, bool isUpperMatrix) {
182 valid = verify_CMatrix(ref_in, tst_in, l2Norm, isUpperMatrix);
[all …]
DIntrinsicBLAS.java103 double l2Norm = 0; in calcL2Norm() local
105 l2Norm += input[i] * input[i]; in calcL2Norm()
107 return l2Norm; in calcL2Norm()
111 double l2Norm = 0; in calcL2Norm() local
113 l2Norm += input[i] * input[i]; in calcL2Norm()
115 return l2Norm; in calcL2Norm()
129 double l2Norm; in verifyMatrix() local
141 l2Norm = (l2NormOut < l2NormRef ? l2NormOut : l2NormRef) / size; in verifyMatrix()
151 l2Norm = (l2NormOut < l2NormRef ? l2NormOut : l2NormRef) / size; in verifyMatrix()
153 mVerify.invoke_verifyMatrix(ref, out, l2Norm, isUpperMatrix); in verifyMatrix()