syclreference.com
  1. SYCL
  2. | API Reference
  3. | Ranges and index space identifiers
  4. | item
  5. | get_offset

get_offset

Get the invocation offset.


template <typename overloadDependantT, typename >
id<dimensions> get_offset() const
(1)
  1. Get the invocation offset.
    Returns: the offset used to invoke the kernel.

syclreference.com — SYCL Reference Pages

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