syclreference.com
  1. SYCL
  2. | API Reference
  3. | Ranges and index space identifiers
  4. | item
  5. | operator detail::enable_if_t(), item>

operator detail::enable_if_t<has_no_offset<sfinae>(), item<dimensions, true>>

Returns an item representing the same information as the object holds but also includes the offset set to 0


template <class sfinae>
operator detail::enable_if_t<has_no_offset<sfinae>(), item<dimensions, true>>() const
(1)
  1. Returns an item representing the same information as the object holds but also includes the offset set to 0
    Returns: This object with an offset added

syclreference.com — SYCL Reference Pages

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