diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2017-09-24 15:44:14 +0200 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2017-09-24 15:44:14 +0200 |
commit | ed980a1df1482e188e1d579b5025e7c86a5ec65c (patch) | |
tree | 91022782e01a471dc50e001ad72d2d24a47db035 /src/database/database_structure.hpp | |
parent | 255f09843cb4a0a10e04a9581184750da0d36593 (diff) |
Updated database override function to work with the new database storage format
Diffstat (limited to 'src/database/database_structure.hpp')
-rw-r--r-- | src/database/database_structure.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/database/database_structure.hpp b/src/database/database_structure.hpp index 9001b385..176fc556 100644 --- a/src/database/database_structure.hpp +++ b/src/database/database_structure.hpp @@ -17,7 +17,7 @@ #include <string> #include <array> #include <vector> -#include <unordered_map> +#include <map> namespace clblast { // A special namespace to hold all the global constant variables (including the database entries) @@ -29,8 +29,8 @@ namespace database { using Name = std::array<char, 51>; // name as stored in database (50 chars + string terminator) using Params = std::array<size_t, 14>; // parameters as stored in database -// Type alias after extracting from the database (map for improved code readability) -using Parameters = std::unordered_map<std::string, size_t>; // parameters after reading from DB +// Type alias after extracting from the database (sorted map for improved code readability) +using Parameters = std::map<std::string, size_t>; // parameters after reading from DB // The OpenCL device types const std::string kDeviceTypeCPU = "CPU"; |