From cc225beb7f2e1caefd82ffd657dcb38aecebb7cf Mon Sep 17 00:00:00 2001 From: Anthony Barbier Date: Fri, 9 Nov 2018 15:35:20 +0000 Subject: COMPMID-1777 Fixed compilation error due to templates being instantiated inside the namespace Change-Id: I477f52a9adf06ba3730f94d411399977fce0f98a --- tests/framework/instruments/OpenCLTimer.cpp | 5 +++-- tests/framework/instruments/SchedulerTimer.cpp | 6 ++++-- tests/framework/instruments/WallClockTimer.cpp | 6 +++--- 3 files changed, 10 insertions(+), 7 deletions(-) (limited to 'tests/framework') diff --git a/tests/framework/instruments/OpenCLTimer.cpp b/tests/framework/instruments/OpenCLTimer.cpp index c443aade56..fefc891d91 100644 --- a/tests/framework/instruments/OpenCLTimer.cpp +++ b/tests/framework/instruments/OpenCLTimer.cpp @@ -229,8 +229,9 @@ Instrument::MeasurementsMap OpenCLClock::test_measurements() return measurements; } -template class OpenCLClock; -template class OpenCLClock; } // namespace framework } // namespace test } // namespace arm_compute + +template class arm_compute::test::framework::OpenCLClock; +template class arm_compute::test::framework::OpenCLClock; diff --git a/tests/framework/instruments/SchedulerTimer.cpp b/tests/framework/instruments/SchedulerTimer.cpp index bd84a777a9..f9d4dd5fce 100644 --- a/tests/framework/instruments/SchedulerTimer.cpp +++ b/tests/framework/instruments/SchedulerTimer.cpp @@ -212,8 +212,10 @@ Instrument::MeasurementsMap SchedulerClock::measurements() co return measurements; } -template class SchedulerClock; -template class SchedulerClock; + } // namespace framework } // namespace test } // namespace arm_compute + +template class arm_compute::test::framework::SchedulerClock; +template class arm_compute::test::framework::SchedulerClock; diff --git a/tests/framework/instruments/WallClockTimer.cpp b/tests/framework/instruments/WallClockTimer.cpp index f309efca1c..b5dc864a40 100644 --- a/tests/framework/instruments/WallClockTimer.cpp +++ b/tests/framework/instruments/WallClockTimer.cpp @@ -75,9 +75,9 @@ Instrument::MeasurementsMap WallClock::measurements() const return measurements; } -template class WallClock; -template class WallClock; - } // namespace framework } // namespace test } // namespace arm_compute + +template class arm_compute::test::framework::WallClock; +template class arm_compute::test::framework::WallClock; -- cgit v1.2.1