From cd8b40d9df90ad45aecef2cd13387a50dd18e659 Mon Sep 17 00:00:00 2001 From: David Svantesson Date: Tue, 2 May 2023 13:05:36 +0000 Subject: Guards to make NEReorder aarch64 only Resolves COMPMID-6151 Signed-off-by: David Svantesson Change-Id: I0e8c957f3460633c32ef57be0cdc44a53b8c3e88 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/9553 Reviewed-by: Viet-Hoa Do Tested-by: Arm Jenkins Comments-Addressed: Arm Jenkins Benchmark: Arm Jenkins --- src/runtime/NEON/functions/NEReorderLayer.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/runtime/NEON/functions') diff --git a/src/runtime/NEON/functions/NEReorderLayer.cpp b/src/runtime/NEON/functions/NEReorderLayer.cpp index f9bbeba90c..53a7718902 100644 --- a/src/runtime/NEON/functions/NEReorderLayer.cpp +++ b/src/runtime/NEON/functions/NEReorderLayer.cpp @@ -21,6 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ +#if defined(__aarch64__) + #include "arm_compute/runtime/NEON/NEScheduler.h" #include "arm_compute/runtime/NEON/functions/NEReorderLayer.h" @@ -50,4 +52,6 @@ Status NEReorderLayer::validate(const ITensorInfo *input, const ITensorInfo *out return NEReorderKernel::validate(input, output, input_wf, output_wf); } -} // namespace arm_compute \ No newline at end of file +} // namespace arm_compute + +#endif // defined(__aarch64__) \ No newline at end of file -- cgit v1.2.1