From c483521dd36134acd659341f7629e0c02b1f23d9 Mon Sep 17 00:00:00 2001 From: Anthony Barbier Date: Wed, 16 May 2018 14:20:04 +0100 Subject: COMPMID-959: Only intercept clEnqueueNDRangeKernel when the timer is enabled Otherwise we'll start intercepting the cl_tuner run, which we don't want Change-Id: Ib3d835a02a6cec9617a715bfbeaed506792a00fc Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/131478 Reviewed-by: Georgios Pinitas Tested-by: Jenkins --- tests/framework/instruments/OpenCLTimer.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/framework/instruments/OpenCLTimer.h') diff --git a/tests/framework/instruments/OpenCLTimer.h b/tests/framework/instruments/OpenCLTimer.h index 059f4493f9..c5f3bce92a 100644 --- a/tests/framework/instruments/OpenCLTimer.h +++ b/tests/framework/instruments/OpenCLTimer.h @@ -52,6 +52,7 @@ public: std::string id() const override; void test_start() override; void start() override; + void stop() override; void test_stop() override; MeasurementsMap measurements() const override; @@ -66,6 +67,7 @@ private: std::function _real_function; std::function _real_graph_function; std::string _prefix; + bool _timer_enabled; #endif /* ARM_COMPUTE_CL */ private: -- cgit v1.2.1