diff options
author | Pablo Tello <pablo.tello@arm.com> | 2019-10-17 14:21:16 +0100 |
---|---|---|
committer | Pablo Marquez <pablo.tello@arm.com> | 2019-10-17 14:56:45 +0000 |
commit | ebaddb600795911dc4e4c446d4f612caa009aaa1 (patch) | |
tree | 06bc616e037e8b0d712347b69c7cc1e480b30ff2 /tests | |
parent | 3f8cc5893ca114bf36b7ef65f80a16668fb2e121 (diff) | |
download | ComputeLibrary-ebaddb600795911dc4e4c446d4f612caa009aaa1.tar.gz |
COMPMID-2452: fixed linker error when cppscheduler=0
Change-Id: I1227436d856f3488635e2b00c886a4deea963f14
Signed-off-by: Pablo Tello <pablo.tello@arm.com>
Reviewed-on: https://review.mlplatform.org/c/2114
Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/validation/NEON/UNIT/RuntimeContext.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/validation/NEON/UNIT/RuntimeContext.cpp b/tests/validation/NEON/UNIT/RuntimeContext.cpp index 05670a94e8..68fb0da986 100644 --- a/tests/validation/NEON/UNIT/RuntimeContext.cpp +++ b/tests/validation/NEON/UNIT/RuntimeContext.cpp @@ -23,8 +23,8 @@ */ #include "arm_compute/runtime/RuntimeContext.h" -#include "arm_compute/runtime/CPP/CPPScheduler.h" #include "arm_compute/runtime/NEON/functions/NEActivationLayer.h" +#include "arm_compute/runtime/SchedulerFactory.h" #include "arm_compute/runtime/Tensor.h" #include "support/ToolchainSupport.h" #include "tests/Globals.h" @@ -61,9 +61,9 @@ TEST_CASE(Scheduler, framework::DatasetMode::ALL) ARM_COMPUTE_EXPECT(ctx.scheduler() != nullptr, framework::LogLevel::ERRORS); ARM_COMPUTE_EXPECT(ctx.asset_manager() == nullptr, framework::LogLevel::ERRORS); - // Create a CPPScheduler - CPPScheduler scheduler; - ctx.set_scheduler(&scheduler); + // Create a Scheduler + auto scheduler = SchedulerFactory::create(); + ctx.set_scheduler(scheduler.get()); // Check if the scheduler has been properly setup ARM_COMPUTE_EXPECT(ctx.scheduler() != nullptr, framework::LogLevel::ERRORS); |