Skip to main content

template <int Dims>
nd_item<Dims> make_nd_item(
    const sycl::nd_item<std::max(1, Dims)>&
        sycl_item,
    const range<Dims>& global_range,
    const id<Dims>& global_offset,
    const id<Dims>& chunk_offset,
    const range<Dims>& group_range,
    const id<Dims>& group_offset)

Template Parameters

int Dims

Parameters

const sycl::nd_item<std::max(1, Dims)>& sycl_item
const range<Dims>& global_range
const id<Dims>& global_offset
const id<Dims>& chunk_offset
const range<Dims>& group_range
const id<Dims>& group_offset