summaryrefslogtreecommitdiff
path: root/test/correctness/tester.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/correctness/tester.cc')
-rw-r--r--test/correctness/tester.cc14
1 files changed, 0 insertions, 14 deletions
diff --git a/test/correctness/tester.cc b/test/correctness/tester.cc
index 002cb1a6..a52142c4 100644
--- a/test/correctness/tester.cc
+++ b/test/correctness/tester.cc
@@ -335,20 +335,6 @@ template <> const std::vector<double2> GetExampleScalars(const bool full_test) {
// =================================================================================================
-// Returns false is this precision is not supported by the device
-template <> bool PrecisionSupported<float>(const Device &) { return true; }
-template <> bool PrecisionSupported<float2>(const Device &) { return true; }
-template <> bool PrecisionSupported<double>(const Device &device) {
- auto extensions = device.Capabilities();
- return (extensions.find(kKhronosDoublePrecision) == std::string::npos) ? false : true;
-}
-template <> bool PrecisionSupported<double2>(const Device &device) {
- auto extensions = device.Capabilities();
- return (extensions.find(kKhronosDoublePrecision) == std::string::npos) ? false : true;
-}
-
-// =================================================================================================
-
// Compiles the templated class
template class Tester<float, float>;
template class Tester<double, double>;