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

get_range

MISSING


range<dimensions> get_range() const
(1)
size_t get_range(int dimension) const
(2)
  1. Get the global range of the enqueued kernel if provided by a handler::parallel_for. Get the local range if used if provided by a
    Returns: the values of the global range for all dimensions.
  2. Gets the global range in a specified dimension if provided by a handler::parallel_for and gets the local range in a specified dimension if provided by a
    Parameters:
    • int dimension : The dimension of the range to retrieve.
    Returns: The value of the global range in the dimension specified.

syclreference.com — SYCL Reference Pages

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