summaryrefslogtreecommitdiff
path: root/src/utilities/utilities.hpp
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2017-09-08 21:09:05 +0200
committerCedric Nugteren <web@cedricnugteren.nl>2017-09-08 21:09:05 +0200
commit91ea7fcde2ac274db50b35fbbdb7deb89fb65b51 (patch)
tree689b41f39b4af203e9d557526e8d3fe2ebfb556c /src/utilities/utilities.hpp
parent20da5e33a86eda746c17cbdb7bfd295d9f92f074 (diff)
Introduced the notion of a device-architecture for the database and added device and architecture name mappings
Diffstat (limited to 'src/utilities/utilities.hpp')
-rw-r--r--src/utilities/utilities.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utilities/utilities.hpp b/src/utilities/utilities.hpp
index fae69b63..3ffb3be5 100644
--- a/src/utilities/utilities.hpp
+++ b/src/utilities/utilities.hpp
@@ -40,6 +40,8 @@ using double2 = std::complex<double>;
// Khronos OpenCL extensions
const std::string kKhronosHalfPrecision = "cl_khr_fp16";
const std::string kKhronosDoublePrecision = "cl_khr_fp64";
+const std::string kKhronosAttributesAMD = "cl_amd_device_attribute_query";
+const std::string kKhronosAttributesNVIDIA = "cl_nv_device_attribute_query";
// Catched an unknown error
constexpr auto kUnknownError = -999;