summaryrefslogtreecommitdiff
path: root/include/internal/database.h
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2016-02-28 16:31:31 +0100
committerCedric Nugteren <web@cedricnugteren.nl>2016-02-28 16:31:31 +0100
commit610a31283bd6400b0f077941cea429d3caa6021c (patch)
treef486707b998148a8f3d52c0c5d701a02216f45a9 /include/internal/database.h
parentc457a70aa13d5a1bf20996f82f3684786d27581d (diff)
parent4a56822dcc7f723db0dc9a86fbb71abdd18cee31 (diff)
Merge branch 'ger_routines' into development
Diffstat (limited to 'include/internal/database.h')
-rw-r--r--include/internal/database.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/include/internal/database.h b/include/internal/database.h
index 08e449fa..ca79fdad 100644
--- a/include/internal/database.h
+++ b/include/internal/database.h
@@ -57,22 +57,20 @@ 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
+ // Alternative names for some OpenCL vendors
const std::unordered_map<std::string,std::string> kVendorNames {
- {"Intel(R) Corporation", kDeviceVendorIntel},
- {"GenuineIntel", kDeviceVendorIntel},
- {"Advanced Micro Devices, Inc.", kDeviceVendorAMD},
- {"NVIDIA Corporation", kDeviceVendorNVIDIA},
+ {"Intel(R) Corporation", "Intel"},
+ {"GenuineIntel", "Intel"},
+ {"Advanced Micro Devices, Inc.", "AMD"},
+ {"NVIDIA Corporation", "NVIDIA"},
};
// The database consists of separate database entries, stored together in a vector
static const DatabaseEntry XaxpySingle, XaxpyDouble, XaxpyComplexSingle, XaxpyComplexDouble;
static const DatabaseEntry XdotSingle, XdotDouble, XdotComplexSingle, XdotComplexDouble;
static const DatabaseEntry XgemvSingle, XgemvDouble, XgemvComplexSingle, XgemvComplexDouble;
+ static const DatabaseEntry XgerSingle, XgerDouble, XgerComplexSingle, XgerComplexDouble;
static const DatabaseEntry XgemmSingle, XgemmDouble, XgemmComplexSingle, XgemmComplexDouble;
static const DatabaseEntry CopySingle, CopyDouble, CopyComplexSingle, CopyComplexDouble;
static const DatabaseEntry PadSingle, PadDouble, PadComplexSingle, PadComplexDouble;