Skip to main content

template <typename Kernel,
          int Dims,
          typename... Reducers>
inline void invoke_kernel(
    const Kernel& kernel,
    const sycl::id<std::max(1, Dims)>& s_id,
    const range<Dims>& global_range,
    const id<Dims>& global_offset,
    const id<Dims>& chunk_offset,
    Reducers&... reducers)

Template Parameters

Kernel
int Dims
Reducers

Parameters

const Kernel& kernel
const sycl::id<std::max(1, Dims)>& s_id
const range<Dims>& global_range
const id<Dims>& global_offset
const id<Dims>& chunk_offset
Reducers&... reducers

template <typename Kernel,
          int Dims,
          typename... Reducers>
inline void invoke_kernel(
    const Kernel& kernel,
    const sycl::nd_item<std::max(1, Dims)>&
        s_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,
    Reducers&... reducers)

Template Parameters

Kernel
int Dims
Reducers

Parameters

const Kernel& kernel
const sycl::nd_item<std::max(1, Dims)>& s_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
Reducers&... reducers