diff options
Diffstat (limited to 'src/core/NEON/kernels/arm_conv/depthwise/depthwise_implementation_constraints.hpp')
-rw-r--r-- | src/core/NEON/kernels/arm_conv/depthwise/depthwise_implementation_constraints.hpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/core/NEON/kernels/arm_conv/depthwise/depthwise_implementation_constraints.hpp b/src/core/NEON/kernels/arm_conv/depthwise/depthwise_implementation_constraints.hpp index b4814bef92..6526d001b3 100644 --- a/src/core/NEON/kernels/arm_conv/depthwise/depthwise_implementation_constraints.hpp +++ b/src/core/NEON/kernels/arm_conv/depthwise/depthwise_implementation_constraints.hpp @@ -85,6 +85,18 @@ bool cpu_has_dot_product(const DepthwiseArgs &args, const void *) return args.cpu_info->has_dotprod(); } +bool cpu_has_sve(const DepthwiseArgs &args, const void *) __attribute__ ((unused)); +bool cpu_has_sve(const DepthwiseArgs &args, const void *) +{ + return args.cpu_info->has_sve(); +} + +bool cpu_has_sve2(const DepthwiseArgs &args, const void *) __attribute__ ((unused)); +bool cpu_has_sve2(const DepthwiseArgs &args, const void *) +{ + return args.cpu_info->has_sve2(); +} + bool has_no_channel_multiplier(const DepthwiseArgs &args, const void *) __attribute__ ((unused)); bool has_no_channel_multiplier(const DepthwiseArgs &args, const void *) { |