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

get_global

MISSING


id<dimensions> get_global() const
(1)
size_t get_global(unsigned int dimension) const
(2)
  1. (deprecated (SYCL 1.2.1 revision 3 replaces nd_item::get_global with nd_item::get_global_id.)) Return the global id for all dimension.
    Returns: An
  2. (deprecated (SYCL 1.2.1 revision 3 replaces nd_item::get_global with nd_item::get_global_id.)) 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