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

get_id

MISSING


id<dimensions> get_id() const
(1)
size_t get_id(int dimension) const
(2)
  1. Get the id associated with this item for all dimensions.
    Returns: The global
  2. Get the id for a specific dimension.
    Parameters:
    • int dimension : of the id, in the range [0,2]
    Returns: the id for the specified dimension.

syclreference.com — SYCL Reference Pages

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