std::hash< cl::sycl::buffer< T, dimensions, AllocatorT > > Struct Template Reference
provides a specialization for std::hash for the buffer class. More...
#include <buffer.h>
Public Member Functions | |
size_t | operator() (const cl::sycl::buffer< T, dimensions, AllocatorT > &object) const |
enables calling an std::hash object as a function with the object to be hashed as a parameter More... | |
Detailed Description
template<typename T, int dimensions, typename AllocatorT>
struct std::hash< cl::sycl::buffer< T, dimensions, AllocatorT > >
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: