syclreference.com
  1. SYCL
  2. | API Reference
  3. | Command Groups
  4. | handler

handler

A handler gives user access to command group scope functionality, such as API calls. This simplifies the interface, as the command group class is not required anymore and the scope is explicit for accessors and API entries.

class cl::sycl::handler;

Member Functions

(constructor)
(destructor)
copy

MISSING

fill

Fills the data associated with the accessor using the scalar value.

get_num_kernels

get_num_kernels. Gets the number of kernels in the current command group.

get_transaction

Returns an internal transaction

move_transaction

Returns an internal transaction only

parallel_for

MISSING

parallel_for_work_group

MISSING

require

MISSING

set_arg

Sets an argument when using interop kernels

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.

single_task

MISSING

update_host

Updates the device data with the current host accessor

syclreference.com — SYCL Reference Pages

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