std::hash< cl::sycl::kernel > Struct Template Reference
provides a specialization for std::hash for the buffer class. More...
#include <kernel.h>
Public Member Functions | |
size_t | operator() (const cl::sycl::kernel &object) const |
enables calling an std::hash object as a function with the object to be hashed as a parameter More... | |
Detailed Description
template<>
struct std::hash< cl::sycl::kernel >
provides a specialization for std::hash for the buffer class.
An std::hash<std::shared_ptr<...>> object is created and its function call operator is used to hash the contents of the shared_ptr. The returned hash is actually the result of (size_t) object.get_impl().get()
Member Function Documentation
◆ operator()()
|
inline |
The documentation for this struct was generated from the following file: