syclreference.com
  1. SYCL
  2. | API Reference
  3. | Accessors
  4. | hash>
  5. | operator()

operator()

enables calling an std::hash object as a function with the object to be hashed as a parameter


std::size_t operator()(const cl::sycl::accessor<elemT, kDims, kMode, kTarget, isPlaceholder> & rhs) const
(1)
  1. enables calling an std::hash object as a function with the object to be hashed as a parameter
    Parameters:
    • const cl::sycl::accessor<elemT, kDims, kMode, kTarget, isPlaceholder> & rhs

syclreference.com — SYCL Reference Pages

Last updated: 2019-01-24 00:24:52 +0000