aboutsummaryrefslogtreecommitdiff
path: root/src/core/cpu/kernels/activation/sve/qasymm8.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/cpu/kernels/activation/sve/qasymm8.cpp')
-rw-r--r--src/core/cpu/kernels/activation/sve/qasymm8.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/cpu/kernels/activation/sve/qasymm8.cpp b/src/core/cpu/kernels/activation/sve/qasymm8.cpp
index 228b4ae530..69fffd96c5 100644
--- a/src/core/cpu/kernels/activation/sve/qasymm8.cpp
+++ b/src/core/cpu/kernels/activation/sve/qasymm8.cpp
@@ -21,14 +21,13 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
-
+#if defined(ARM_COMPUTE_ENABLE_SVE2)
#include "arm_compute/core/Helpers.h"
#include "arm_compute/core/Window.h"
#include <cmath>
#include <cstddef>
-#if defined(__ARM_FEATURE_SVE2)
#include "src/core/NEON/SVEAsymm.h"
#include "src/core/NEON/SVEMath.h"
#include <arm_sve.h>
@@ -251,4 +250,4 @@ void qasymm8_sve_activation(const ITensor *src, ITensor *dst, const ActivationLa
}
} // namespace cpu
} // namespace arm_compute
-#endif /* defined(__ARM_FEATURE_SVE2) */ \ No newline at end of file
+#endif /* defined(ARM_COMPUTE_ENABLE_SVE2) */ \ No newline at end of file