syclreference.com
  1. SYCL
  2. | API Reference
  3. | Command Groups
  4. | handler
  5. | set_args
<light>

set_args

Set all the given kernel args arguments for an OpenCL kernel, as if set_arg() was used with each of them in the same order and increasing index always starting at 0.


template <typename... Ts>
void set_args(Ts &&... args)
(1)
  1. Set all the given kernel args arguments for an OpenCL kernel, as if set_arg() was used with each of them in the same order and increasing index always starting at 0.
    Parameters:
    • Ts &&... args : Parameters passed to the OpenCL kernel

syclreference.com — SYCL Reference Pages

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