diff options
Diffstat (limited to 'src/core/cpu/kernels/elementwise/sve/elementwise_unary.cpp')
-rw-r--r-- | src/core/cpu/kernels/elementwise/sve/elementwise_unary.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/cpu/kernels/elementwise/sve/elementwise_unary.cpp b/src/core/cpu/kernels/elementwise/sve/elementwise_unary.cpp index cb58548f0b..ddf1febd66 100644 --- a/src/core/cpu/kernels/elementwise/sve/elementwise_unary.cpp +++ b/src/core/cpu/kernels/elementwise/sve/elementwise_unary.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/ITensor.h" #include "arm_compute/core/Types.h" @@ -108,4 +109,5 @@ template void elementwise_sve_op<float16_t>(const ITensor *in, ITensor *out, con template void elementwise_sve_op<float32_t>(const ITensor *in, ITensor *out, const Window &window, ElementWiseUnary op); template void elementwise_sve_op<int32_t>(const ITensor *in, ITensor *out, const Window &window, ElementWiseUnary op); } // 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 |