summaryrefslogtreecommitdiff
path: root/src/database/database.hpp
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2017-02-16 21:12:50 +0100
committerCedric Nugteren <web@cedricnugteren.nl>2017-02-16 21:12:50 +0100
commit08bfb75a9d72b6b373d8f18e8be83fe4ea31015b (patch)
tree93c7861c51c12b07e47a0fc266a004cfd782017a /src/database/database.hpp
parentbdc57221bd0279bcdb4f024df54f08a2fe1bb8d4 (diff)
Added input-sanity checks for the OverrideParameters function
Diffstat (limited to 'src/database/database.hpp')
-rw-r--r--src/database/database.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/database/database.hpp b/src/database/database.hpp
index b6760ec3..b34e0d8a 100644
--- a/src/database/database.hpp
+++ b/src/database/database.hpp
@@ -85,6 +85,9 @@ class Database {
// Obtain a list of OpenCL pre-processor defines based on the parameters
std::string GetDefines() const;
+ // Retrieves the names of all the parameters
+ std::vector<std::string> GetParameterNames() const;
+
private:
// Search method for a specified database, returning pointer (possibly a nullptr)
ParametersPtr Search(const std::string &this_kernel, const std::string &this_type,