syclreference.com
  1. SYCL
  2. | API Reference
  3. | Ranges and index space identifiers

Ranges and index space identifiers

Classes

group<dimensions>

The cl::sycl::group object is a container for all information about a work group. The cl::sycl::group object is used within the parallel_for_work_group function. The cl::sycl::group object can return information about the local and global sizes of an enqueued nd-range as well as the number of groups and the current group id.

h_item<dimensions>

Identifies an instance of a parallel_for_work_item function object executing at each point in a local range passed to a parallel_for_work_item call.

id<1>

Implementation of id for 1 dimension

id<2>

Implementation of id for 2 dimensions

id<3>

Implementation of id for 3 dimensions

id<dimensions>

base class which the other versions implements specialisations of

item<dimensions, with_offset>

The cl::sycl::item object is a container for all information about a work item. The cl::sycl::item object is used within the handler::parallel_for and information about the local and global sizes of an enqueued nd_range as well as the local and global ids of the work item. item is a derived class of detail::item_base, which is a non-templated class implementing most of the functionality of cl::sycl::item.

nd_item<dimensions>

The cl::sycl::nd_item object is a container for all information about a work-item.

nd_range<dimensions>

Implements the nd_range class of the SYCL specification. An nd_range contains a global and a local range and an offset.

range<1>

1 dimension range definition.

range<2>

2 dimension range definition.

range<3>

3 dimension range definition.

range<dimensions>

range representation of a 1, 2 or 3 dimensional range. A range represents the size of each dimension of the index space.

syclreference.com — SYCL Reference Pages

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