diff options
Diffstat (limited to 'include/internal/database.h')
-rw-r--r-- | include/internal/database.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/internal/database.h b/include/internal/database.h index 9107f978..08e449fa 100644 --- a/include/internal/database.h +++ b/include/internal/database.h @@ -57,6 +57,17 @@ class Database { // The OpenCL device vendors static constexpr auto kDeviceVendorAll = "default"; + static constexpr auto kDeviceVendorIntel = "Intel"; + static constexpr auto kDeviceVendorAMD = "AMD"; + static constexpr auto kDeviceVendorNVIDIA = "NVIDIA"; + + // Alternative names for the above vendors + const std::unordered_map<std::string,std::string> kVendorNames { + {"Intel(R) Corporation", kDeviceVendorIntel}, + {"GenuineIntel", kDeviceVendorIntel}, + {"Advanced Micro Devices, Inc.", kDeviceVendorAMD}, + {"NVIDIA Corporation", kDeviceVendorNVIDIA}, + }; // The database consists of separate database entries, stored together in a vector static const DatabaseEntry XaxpySingle, XaxpyDouble, XaxpyComplexSingle, XaxpyComplexDouble; |