diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2017-02-13 20:53:06 +0100 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2017-02-13 20:53:06 +0100 |
commit | cdb3bb7166bc75842ff95e14915bff881297fc62 (patch) | |
tree | 507a6c8008055d8ea1e469a77d00922dd88d1368 /src/routine.hpp | |
parent | 00eb55a2d449e98816e77576f166e89682efbfd6 (diff) |
Added first version of the OverrideParameters function
Diffstat (limited to 'src/routine.hpp')
-rw-r--r-- | src/routine.hpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/routine.hpp b/src/routine.hpp index ba8b9f60..622a1c0d 100644 --- a/src/routine.hpp +++ b/src/routine.hpp @@ -18,6 +18,7 @@ #include <string> #include <vector> +#include <unordered_map> #include "utilities/utilities.hpp" #include "cache.hpp" @@ -42,6 +43,15 @@ class Routine { const std::vector<const Database::DatabaseEntry*> &userDatabase, std::initializer_list<const char *> source); + // List of kernel-routine look-ups + static const std::vector<std::string> routines_axpy; + static const std::vector<std::string> routines_dot; + static const std::vector<std::string> routines_ger; + static const std::vector<std::string> routines_gemv; + static const std::vector<std::string> routines_gemm; + static const std::vector<std::string> routines_gemm_syrk; + static const std::unordered_map<std::string, const std::vector<std::string>> routines_by_kernel; + private: // Initializes program_, fetching cached program or building one |