diff options
Diffstat (limited to 'src/core/cpu/kernels/activation/sve')
-rw-r--r-- | src/core/cpu/kernels/activation/sve/qasymm8.cpp | 5 | ||||
-rw-r--r-- | src/core/cpu/kernels/activation/sve/qasymm8_signed.cpp | 4 | ||||
-rw-r--r-- | src/core/cpu/kernels/activation/sve/qsymm16.cpp | 4 |
3 files changed, 6 insertions, 7 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 diff --git a/src/core/cpu/kernels/activation/sve/qasymm8_signed.cpp b/src/core/cpu/kernels/activation/sve/qasymm8_signed.cpp index 989f825eb9..53ee515ff9 100644 --- a/src/core/cpu/kernels/activation/sve/qasymm8_signed.cpp +++ b/src/core/cpu/kernels/activation/sve/qasymm8_signed.cpp @@ -28,7 +28,7 @@ #include <cmath> #include <cstddef> -#if defined(__ARM_FEATURE_SVE2) +#if defined(ARM_COMPUTE_ENABLE_SVE2) #include "src/core/NEON/SVEAsymm.h" #include "src/core/NEON/SVEMath.h" #include <arm_sve.h> @@ -250,4 +250,4 @@ void qasymm8_signed_sve_activation(const ITensor *src, ITensor *dst, const Activ } } // namespace cpu } // namespace arm_compute -#endif /* defined(__ARM_FEATURE_SVE2) */ +#endif /* defined(ARM_COMPUTE_ENABLE_SVE2) */ diff --git a/src/core/cpu/kernels/activation/sve/qsymm16.cpp b/src/core/cpu/kernels/activation/sve/qsymm16.cpp index 66974875da..ac549770a2 100644 --- a/src/core/cpu/kernels/activation/sve/qsymm16.cpp +++ b/src/core/cpu/kernels/activation/sve/qsymm16.cpp @@ -29,7 +29,7 @@ #include <cmath> #include <cstddef> -#if defined(__ARM_FEATURE_SVE2) +#if defined(ARM_COMPUTE_ENABLE_SVE2) #include "src/core/NEON/SVEMath.h" #include "src/core/NEON/SVESymm.h" #include <arm_sve.h> @@ -117,4 +117,4 @@ void qsymm16_sve_activation(const ITensor *src, ITensor *dst, const ActivationLa } } // namespace cpu } // namespace arm_compute -#endif /* defined(__ARM_FEATURE_SVE2) */ +#endif /* defined(ARM_COMPUTE_ENABLE_SVE2) */ |