diff options
author | Joel Liang <joel.liang@arm.com> | 2017-12-28 10:09:51 +0800 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:42:33 +0000 |
commit | 1c5ffd612979d40730feecc4f43fa6c9f177f2e3 (patch) | |
tree | 510367ba70fcad4374d2cf9cdccdb3bc715c216c /tests/framework/Framework.cpp | |
parent | c5a7e59655b61ad617fa34a4fb00e1a007c8255a (diff) | |
download | ComputeLibrary-1c5ffd612979d40730feecc4f43fa6c9f177f2e3.tar.gz |
APPBROWSER-359: Sync tensor in GC benchmark tests
Change-Id: I22c1aa92e70d6143bbcec90e9e7de9f1ce1c1e55
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/114635
Tested-by: Jenkins <bsgcomp@arm.com>
Reviewed-by: Pablo Tello <pablo.tello@arm.com>
Diffstat (limited to 'tests/framework/Framework.cpp')
-rw-r--r-- | tests/framework/Framework.cpp | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/tests/framework/Framework.cpp b/tests/framework/Framework.cpp index d1fb28d501..79a77d9e5e 100644 --- a/tests/framework/Framework.cpp +++ b/tests/framework/Framework.cpp @@ -25,16 +25,6 @@ #include "support/ToolchainSupport.h" -#ifdef ARM_COMPUTE_CL -#include "arm_compute/core/CL/OpenCL.h" -#include "arm_compute/runtime/CL/CLScheduler.h" -#endif /* ARM_COMPUTE_CL */ - -#ifdef ARM_COMPUTE_GC -#include "arm_compute/core/GLES_COMPUTE/OpenGLES.h" -#include "arm_compute/runtime/GLES_COMPUTE/GCScheduler.h" -#endif /* ARM_COMPUTE_GC */ - #include <chrono> #include <iostream> #include <sstream> @@ -310,18 +300,7 @@ void Framework::run_test(const TestInfo &info, TestCaseFactory &test_factory) profiler.start(); } test_case->do_run(); -#ifdef ARM_COMPUTE_CL - if(opencl_is_available()) - { - CLScheduler::get().sync(); - } -#endif /* ARM_COMPUTE_CL */ -#ifdef ARM_COMPUTE_GC - if(opengles31_is_available()) - { - GCScheduler::get().sync(); - } -#endif /* ARM_COMPUTE_GC */ + test_case->do_sync(); if(_num_iterations == 1 || i != 0) { profiler.stop(); |