diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2017-02-16 21:14:48 +0100 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2017-02-16 21:14:48 +0100 |
commit | cda449a5c39041b2a0e6893ee254e145447b78ca (patch) | |
tree | 3b4f18b497df26960dd72dd297a80421861e2a53 /include/clblast.h | |
parent | 08bfb75a9d72b6b373d8f18e8be83fe4ea31015b (diff) |
Added a C interface to the OverrideParameters function; added some in-line comments to the API
Diffstat (limited to 'include/clblast.h')
-rw-r--r-- | include/clblast.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/clblast.h b/include/clblast.h index 1350cb10..d9637d15 100644 --- a/include/clblast.h +++ b/include/clblast.h @@ -621,6 +621,9 @@ StatusCode PUBLIC_API FillCache(const cl_device_id device); // ================================================================================================= +// Overrides tuning parameters for a specific device-precision-routine combination. The next time +// (and all further times) the target routine is called it will re-compile and use the new +// parameters. 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> ¶meters); |