syclreference.com
  1. SYCL
  2. | API Reference
  3. | Accessors
  4. | accessor
  5. | operator+=

operator+=

Chnages this->offset by rhs as this->get_offset()[0] + rhs


template <typename overloadDependantT, typename >
accessor<elemT, 1, kMode, kTarget, access::placeholder::true_t> & operator+=(int rhs)
(1)
  1. Chnages this->offset by rhs as this->get_offset()[0] + rhs
    Parameters:
    • int rhs : the offset to add to the current accessor's offset
    Returns: This accesor

syclreference.com — SYCL Reference Pages

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