diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/clblast.h | 5 | ||||
-rw-r--r-- | include/clblast_c.h | 11 |
2 files changed, 7 insertions, 9 deletions
diff --git a/include/clblast.h b/include/clblast.h index d9637d15..9fdd5df1 100644 --- a/include/clblast.h +++ b/include/clblast.h @@ -621,9 +621,8 @@ 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. +// Overrides tuning parameters for a specific device-precision-kernel combination. The next time +// the target routine is called it will re-compile and use the new parameters from then on. 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); diff --git a/include/clblast_c.h b/include/clblast_c.h index cd657f3b..d4b0b004 100644 --- a/include/clblast_c.h +++ b/include/clblast_c.h @@ -1345,12 +1345,11 @@ CLBlastStatusCode PUBLIC_API CLBlastFillCache(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. -CLBlastStatusCode PUBLIC_API OverrideParameters(const cl_device_id device, const char* kernel_name, - const CLBlastPrecision precision, const size_t num_parameters, - const char** parameters_names, const size_t* parameters_values); +// Overrides tuning parameters for a specific device-precision-kernel combination. The next time +// the target routine is called it will re-compile and use the new parameters from then on. +CLBlastStatusCode PUBLIC_API CLBlastOverrideParameters(const cl_device_id device, const char* kernel_name, + const CLBlastPrecision precision, const size_t num_parameters, + const char** parameters_names, const size_t* parameters_values); // ================================================================================================= |