diff options
author | Kirill Mavreshko <kimavr@gmail.com> | 2017-05-27 10:30:09 +0500 |
---|---|---|
committer | Kirill Mavreshko <kimavr@gmail.com> | 2017-05-27 10:30:09 +0500 |
commit | 64ba590279f98899e738e223354547f4bf361b58 (patch) | |
tree | 5ea36a1c906c8cec0dabe4da9e98e1df168d0aa0 /src | |
parent | 628e1e8cce084657df854fa97ba18ad740270b23 (diff) |
Fixed comment decribing the order of program cache fields
Diffstat (limited to 'src')
-rw-r--r-- | src/cache.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cache.hpp b/src/cache.hpp index 207cb2dd..ed693ea3 100644 --- a/src/cache.hpp +++ b/src/cache.hpp @@ -79,7 +79,7 @@ extern template std::string BinaryCache::Get(const BinaryKeyRef &, bool *) const // ================================================================================================= // The key struct for the cache of compiled OpenCL programs (context-dependent) -// Order of fields: context, precision, routine_name (smaller fields first) +// Order of fields: context, device_id, precision, routine_name (smaller fields first) typedef std::tuple<cl_context, cl_device_id, Precision, std::string> ProgramKey; typedef std::tuple<const cl_context &, const cl_device_id &, const Precision &, const std::string &> ProgramKeyRef; |