summaryrefslogtreecommitdiff
path: root/src/database/database.hpp
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2016-07-24 17:00:21 +0200
committerCedric Nugteren <web@cedricnugteren.nl>2016-07-24 17:00:21 +0200
commitffa35c623af4b0916f625f3a41000e75a1df7e1f (patch)
tree353c68a68f420413145818756db57f8a3f5d79ee /src/database/database.hpp
parentd4ffa6395ec7d6f4aa9ca52d0705db0f34c72eba (diff)
Minor improvements after merging in groundwork for custom tuning parameters and kernels
Diffstat (limited to 'src/database/database.hpp')
-rw-r--r--src/database/database.hpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/database/database.hpp b/src/database/database.hpp
index 5a61fad9..e84357dc 100644
--- a/src/database/database.hpp
+++ b/src/database/database.hpp
@@ -79,7 +79,7 @@ class Database {
static const DatabaseEntry PadtransposeHalf, PadtransposeSingle, PadtransposeDouble, PadtransposeComplexSingle, PadtransposeComplexDouble;
static const std::vector<DatabaseEntry> database;
- // The constructor with a user-provided database overlay
+ // The constructor with a user-provided database overlay (potentially an empty vector)
explicit Database(const Queue &queue, const std::vector<std::string> &routines,
const Precision precision, const std::vector<DatabaseEntry> &overlay);
@@ -90,11 +90,7 @@ class Database {
std::string GetDefines() const;
private:
- Parameters Search(const std::string &this_kernel, const std::string &this_type,
- const std::string &this_vendor, const std::string &this_device,
- const Precision this_precision) const;
-
- // Alternate search method in a specified database, returning pointer (possibly NULL)
+ // Search method for a specified database, returning pointer (possibly a nullptr)
ParametersPtr Search(const std::string &this_kernel, const std::string &this_type,
const std::string &this_vendor, const std::string &this_device,
const Precision this_precision, const std::vector<DatabaseEntry> &db) const;