summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCNugteren <web@cedricnugteren.nl>2015-06-20 14:13:54 +0200
committerCNugteren <web@cedricnugteren.nl>2015-06-20 14:13:54 +0200
commit0f486d9b7442a314fd45f993137e6794372de1f5 (patch)
tree23b217432e36476509c289c1a3f07d95c6f887d4 /include
parent3ea3ba2beeab837e8d7c533746bd621daf1c09bd (diff)
Automatically skips tests with unsupported precision
Diffstat (limited to 'include')
-rw-r--r--include/internal/routine.h4
-rw-r--r--include/internal/utilities.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/include/internal/routine.h b/include/internal/routine.h
index 1b2e0dbb..a65ced20 100644
--- a/include/internal/routine.h
+++ b/include/internal/routine.h
@@ -29,10 +29,6 @@ namespace clblast {
class Routine {
public:
- // Khronos OpenCL extensions
- const std::string kKhronosHalfPrecision = "cl_khr_fp16";
- const std::string kKhronosDoublePrecision = "cl_khr_fp64";
-
// The cache of compiled OpenCL programs, along with some meta-data
struct ProgramCache {
Program program;
diff --git a/include/internal/utilities.h b/include/internal/utilities.h
index 4cefdc4a..6ad17a6a 100644
--- a/include/internal/utilities.h
+++ b/include/internal/utilities.h
@@ -31,6 +31,10 @@ namespace clblast {
using float2 = std::complex<float>;
using double2 = std::complex<double>;
+// Khronos OpenCL extensions
+const std::string kKhronosHalfPrecision = "cl_khr_fp16";
+const std::string kKhronosDoublePrecision = "cl_khr_fp64";
+
// =================================================================================================
// The routine-specific arguments in string form