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

get_local

MISSING


id<dimensions> get_local() const
(1)
size_t get_local(unsigned int dimension) const
(2)
  1. (deprecated (SYCL 1.2.1 revision 3 replaces nd_item::get_local with nd_item::get_local_id.)) Return the local id for all dimension.
    Returns: An
  2. (deprecated (SYCL 1.2.1 revision 3 replaces nd_item::get_local with nd_item::get_local_id.)) Returns the local id for a specific dimension.
    Parameters:
    • unsigned int dimension : of local id to return. Must be in the range [0,2].
    Returns: the local id for the specified dimension.

syclreference.com — SYCL Reference Pages

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