aboutsummaryrefslogtreecommitdiff
path: root/src/core/cpu/kernels/elementwise/sve/elementwise.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/cpu/kernels/elementwise/sve/elementwise.cpp')
-rw-r--r--src/core/cpu/kernels/elementwise/sve/elementwise.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/cpu/kernels/elementwise/sve/elementwise.cpp b/src/core/cpu/kernels/elementwise/sve/elementwise.cpp
index 2c3bb0ff7c..58ebb28fe5 100644
--- a/src/core/cpu/kernels/elementwise/sve/elementwise.cpp
+++ b/src/core/cpu/kernels/elementwise/sve/elementwise.cpp
@@ -21,6 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
+#if defined(__ARM_FEATURE_SVE)
#include "arm_compute/core/Helpers.h"
#include "arm_compute/core/Types.h"
#include "src/core/cpu/kernels/elementwise/sve/elementwise_list.h"
@@ -306,4 +307,5 @@ template void elementwise_comparison_op<ComparisonOperation::LessEqual, float16_
template void elementwise_comparison_op<ComparisonOperation::LessEqual, int16_t>(const ITensor *in1, const ITensor *in2, ITensor *out, const Window &window);
template void elementwise_comparison_op<ComparisonOperation::LessEqual, uint8_t>(const ITensor *in1, const ITensor *in2, ITensor *out, const Window &window);
} // namespace cpu
-} // namespace arm_compute \ No newline at end of file
+} // namespace arm_compute
+#endif /* defined(__ARM_FEATURE_SVE) */ \ No newline at end of file