aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Barchard <fbarchard@google.com>2022-08-23 14:04:06 -0700
committerXNNPACK Team <xnnpack-github-robot@google.com>2022-08-23 14:07:08 -0700
commitcb9c00c907e4fb374d3dcfa8a4a16a727390cfc3 (patch)
tree8293891a7253b5186ccf67d7fdae5b856ba93d0c
parent317950c01f4db6676986ec1837caacef6c845e70 (diff)
downloadXNNPACK-cb9c00c907e4fb374d3dcfa8a4a16a727390cfc3.tar.gz
apply sort and template generation
PiperOrigin-RevId: 469551282
-rw-r--r--src/xnnpack/math-stubs.h4
-rw-r--r--test/f32-vlrelu.cc4
2 files changed, 5 insertions, 3 deletions
diff --git a/src/xnnpack/math-stubs.h b/src/xnnpack/math-stubs.h
index 61ef26cad..d7a523539 100644
--- a/src/xnnpack/math-stubs.h
+++ b/src/xnnpack/math-stubs.h
@@ -358,10 +358,10 @@ DECLARE_U32_UNARY_MATH_FUNCTION(xnn_math_u32_sqrt__scalar_bitmanip)
DECLARE_U32_UNARY_MATH_FUNCTION(xnn_math_u32_sqrt__scalar_clz_binsearch)
DECLARE_U32_UNARY_MATH_FUNCTION(xnn_math_u32_sqrt__scalar_clz_newton)
DECLARE_U32_UNARY_MATH_FUNCTION(xnn_math_u32_sqrt__scalar_cvti32_sqrt_lrint)
-DECLARE_U32_UNARY_MATH_FUNCTION(xnn_math_u32_sqrt__scalar_cvti64_sqrt_lrint)
-DECLARE_U32_UNARY_MATH_FUNCTION(xnn_math_u32_sqrt__scalar_cvtu32_sqrt_lrint)
DECLARE_U32_UNARY_MATH_FUNCTION(xnn_math_u32_sqrt__scalar_cvti32_sqrtf_lrintf)
+DECLARE_U32_UNARY_MATH_FUNCTION(xnn_math_u32_sqrt__scalar_cvti64_sqrt_lrint)
DECLARE_U32_UNARY_MATH_FUNCTION(xnn_math_u32_sqrt__scalar_cvti64_sqrtf_lrintf)
+DECLARE_U32_UNARY_MATH_FUNCTION(xnn_math_u32_sqrt__scalar_cvtu32_sqrt_lrint)
DECLARE_U32_UNARY_MATH_FUNCTION(xnn_math_u32_sqrt__scalar_cvtu32_sqrtf_lrintf)
DECLARE_U32_UNARY_MATH_FUNCTION(xnn_math_u32_sqrt__scalar_hashemian)
DECLARE_U32_UNARY_MATH_FUNCTION(xnn_math_u32_sqrt__scalar_tflm)
diff --git a/test/f32-vlrelu.cc b/test/f32-vlrelu.cc
index 06107cac1..20e500d66 100644
--- a/test/f32-vlrelu.cc
+++ b/test/f32-vlrelu.cc
@@ -1114,6 +1114,7 @@ TEST(F32_VLRELU__SCALAR_X1, slope) {
}
}
+
TEST(F32_VLRELU__SCALAR_X2, batch_eq_2) {
VUnaryMicrokernelTester()
.batch_size(2)
@@ -1164,6 +1165,7 @@ TEST(F32_VLRELU__SCALAR_X2, slope) {
}
}
+
TEST(F32_VLRELU__SCALAR_X4, batch_eq_4) {
VUnaryMicrokernelTester()
.batch_size(4)
@@ -1212,4 +1214,4 @@ TEST(F32_VLRELU__SCALAR_X4, slope) {
.Test(xnn_f32_vlrelu_ukernel__scalar_x4, xnn_init_f32_lrelu_scalar_params);
}
}
-} \ No newline at end of file
+}