From 748a7c81245ae81d04607b3a762cf65cd39026f2 Mon Sep 17 00:00:00 2001 From: Michalis Spyrou Date: Mon, 7 Oct 2019 13:00:44 +0100 Subject: COMPMID-2706: Add the ability to build bootcode for bare metal Adds an option for providing a linker script and also adds the bootcode folder, it it exists, in the build path and links it with the executable binaries. Change-Id: I4119b21bdf1b4dd7fe38c4ee66741460666f53a1 Signed-off-by: Michalis Spyrou Reviewed-on: https://review.mlplatform.org/c/2051 Comments-Addressed: Arm Jenkins Reviewed-by: Michele Di Giorgio Tested-by: Arm Jenkins --- tests/validation/reference/ElementWiseUnary.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/validation/reference') diff --git a/tests/validation/reference/ElementWiseUnary.cpp b/tests/validation/reference/ElementWiseUnary.cpp index 06beb2ac09..eaaaa4ec1e 100644 --- a/tests/validation/reference/ElementWiseUnary.cpp +++ b/tests/validation/reference/ElementWiseUnary.cpp @@ -59,7 +59,7 @@ SimpleTensor elementwise_unary(const SimpleTensor &src, ElementWiseUnary o dst[i] = std::sin(src[i]); break; case ElementWiseUnary::ROUND: - dst[i] = std::nearbyint(src[i]); + dst[i] = arm_compute::support::cpp11::nearbyint(src[i]); break; default: ARM_COMPUTE_ERROR("Not implemented"); -- cgit v1.2.1