aboutsummaryrefslogtreecommitdiff
path: root/src/core/NEON/kernels/arm_gemm/std_transforms_sve.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/NEON/kernels/arm_gemm/std_transforms_sve.hpp')
-rw-r--r--src/core/NEON/kernels/arm_gemm/std_transforms_sve.hpp16
1 files changed, 4 insertions, 12 deletions
diff --git a/src/core/NEON/kernels/arm_gemm/std_transforms_sve.hpp b/src/core/NEON/kernels/arm_gemm/std_transforms_sve.hpp
index 6b64e5e36c..5b45ccd52a 100644
--- a/src/core/NEON/kernels/arm_gemm/std_transforms_sve.hpp
+++ b/src/core/NEON/kernels/arm_gemm/std_transforms_sve.hpp
@@ -44,22 +44,14 @@ class StdTransformsSVE
public:
template<typename TIn>
void PrepareA(TOperand *out, const TIn *in, const int stride, const int y0,
- const int ymax, const int k0, const int kmax, bool transposed) {
- if (transposed) {
- Transform<height, block, true>(out, in, stride, y0, ymax, k0, kmax);
- } else {
- Transform<height, block, false>(out, in, stride, y0, ymax, k0, kmax);
- }
+ const int ymax, const int k0, const int kmax) {
+ Transform<height, block, false>(out, in, stride, y0, ymax, k0, kmax);
}
template<typename TIn>
void PrepareB(TOperand *out, const TIn *in, const int stride, const int x0,
- const int xmax, const int k0, const int kmax, bool transposed) {
- if (transposed) {
- Transform<width_vectors, block, false, true>(out, in, stride, x0, xmax, k0, kmax);
- } else {
- Transform<width_vectors, block, true, true>(out, in, stride, x0, xmax, k0, kmax);
- }
+ const int xmax, const int k0, const int kmax) {
+ Transform<width_vectors, block, true, true>(out, in, stride, x0, xmax, k0, kmax);
}
template<typename TOut>