summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2016-02-20 14:41:53 +0100
committerCedric Nugteren <web@cedricnugteren.nl>2016-02-20 14:41:53 +0100
commit9f682aa66bf38828e915431fe61603f535c61363 (patch)
tree6089bffcb08a30b7635b3a72a565e15f569e4ce3 /include
parent6dc44da07bc0209a399a3e40300aa859e41034d9 (diff)
Set a proper default precision for the CLBlast clients
Diffstat (limited to 'include')
-rw-r--r--include/internal/utilities.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/internal/utilities.h b/include/internal/utilities.h
index ed17271f..b6307a85 100644
--- a/include/internal/utilities.h
+++ b/include/internal/utilities.h
@@ -171,7 +171,8 @@ T GetArgument(const int argc, char *argv[], std::string &help,
const std::string &option, const T default_value);
// Returns the precision only
-Precision GetPrecision(const int argc, char *argv[]);
+Precision GetPrecision(const int argc, char *argv[],
+ const Precision default_precision = Precision::kSingle);
// As in "GetArgument", but now only checks whether an argument is given or not
bool CheckArgument(const int argc, char *argv[], std::string &help, const std::string &option);