summaryrefslogtreecommitdiff
path: root/include/clblast.h
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2017-02-13 20:53:06 +0100
committerCedric Nugteren <web@cedricnugteren.nl>2017-02-13 20:53:06 +0100
commitcdb3bb7166bc75842ff95e14915bff881297fc62 (patch)
tree507a6c8008055d8ea1e469a77d00922dd88d1368 /include/clblast.h
parent00eb55a2d449e98816e77576f166e89682efbfd6 (diff)
Added first version of the OverrideParameters function
Diffstat (limited to 'include/clblast.h')
-rw-r--r--include/clblast.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/clblast.h b/include/clblast.h
index 7b2021d8..e7b53d65 100644
--- a/include/clblast.h
+++ b/include/clblast.h
@@ -17,6 +17,8 @@
#define CLBLAST_CLBLAST_H_
#include <cstdlib> // For size_t
+#include <string> // For OverrideParameters function
+#include <unordered_map> // For OverrideParameters function
// Includes the normal OpenCL C header
#if defined(__APPLE__) || defined(__MACOSX)
@@ -617,6 +619,12 @@ StatusCode PUBLIC_API FillCache(const cl_device_id device);
// =================================================================================================
+StatusCode PUBLIC_API OverrideParameters(const cl_device_id device, const std::string &kernel_name,
+ const Precision precision,
+ const std::unordered_map<std::string,size_t> &parameters);
+
+// =================================================================================================
+
} // namespace clblast
// CLBLAST_CLBLAST_H_