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

get_global_id

MISSING


id<dimensions> get_global_id() const
(1)
size_t get_global_id(unsigned int dimension) const
(2)
  1. Return the global id for all dimension.
    Returns: An
  2. Returns the global id for a specific dimension.
    Parameters:
    • unsigned int dimension : of global id to return. Must be in the range [0,2].
    Returns: the global id for the specified dimension.

syclreference.com — SYCL Reference Pages

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