aboutsummaryrefslogtreecommitdiff
path: root/tests/framework
diff options
context:
space:
mode:
authorAnthony Barbier <anthony.barbier@arm.com>2018-11-09 15:35:20 +0000
committerAnthony Barbier <Anthony.barbier@arm.com>2018-11-13 10:25:01 +0000
commitcc225beb7f2e1caefd82ffd657dcb38aecebb7cf (patch)
treed352fd0d5f749efec20ff86d4212807d2c123813 /tests/framework
parent9c2ec7e808178ce2350e0070f5ca6c69ec438d1a (diff)
downloadComputeLibrary-cc225beb7f2e1caefd82ffd657dcb38aecebb7cf.tar.gz
COMPMID-1777 Fixed compilation error due to templates being instantiated inside the namespace
Change-Id: I477f52a9adf06ba3730f94d411399977fce0f98a
Diffstat (limited to 'tests/framework')
-rw-r--r--tests/framework/instruments/OpenCLTimer.cpp5
-rw-r--r--tests/framework/instruments/SchedulerTimer.cpp6
-rw-r--r--tests/framework/instruments/WallClockTimer.cpp6
3 files changed, 10 insertions, 7 deletions
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<output_timestamps>::test_measurements()
return measurements;
}
-template class OpenCLClock<true>;
-template class OpenCLClock<false>;
} // namespace framework
} // namespace test
} // namespace arm_compute
+
+template class arm_compute::test::framework::OpenCLClock<true>;
+template class arm_compute::test::framework::OpenCLClock<false>;
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<output_timestamps>::measurements() co
return measurements;
}
-template class SchedulerClock<true>;
-template class SchedulerClock<false>;
+
} // namespace framework
} // namespace test
} // namespace arm_compute
+
+template class arm_compute::test::framework::SchedulerClock<true>;
+template class arm_compute::test::framework::SchedulerClock<false>;
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<output_timestamps>::measurements() const
return measurements;
}
-template class WallClock<true>;
-template class WallClock<false>;
-
} // namespace framework
} // namespace test
} // namespace arm_compute
+
+template class arm_compute::test::framework::WallClock<true>;
+template class arm_compute::test::framework::WallClock<false>;