syclreference.com
  1. SYCL
  2. | API Reference
  3. | Images

Images

Types

Type Definition Notes
byte_t
unsigned char
context_bound
buffer::context_bound

The context_bound property adds the requirement that the SYCL image can only be associated with a single SYCL context that is provided to the property.

use_host_ptr
buffer::use_host_ptr

The use_host_ptr property adds the requirement that the SYCL runtime must not allocate any memory for the image and instead uses the provided host pointer directly.

use_mutex
buffer::use_mutex

The use_mutex property adds the requirement that the memory which is owned by the SYCL image can be shared with the application via a mutex_class provided to the property. The mutex is locked by the runtime whenever the data is in use and unlocked otherwise. Data is synchronized with host data when the mutex is unlocked by the runtime.

Enumerations

image_channel_order

Specify the number of channels and the channel layout in which channels are stored in the image.

image_channel_type

Specify the size of the channels data type.

Classes

hash<cl::sycl::image<kDimensions, AllocatorT>>

provides a specialization for std::hash for the buffer class. An std::hash<std::shared_ptr<…» object is created and its function call operator is used to hash the contents of the shared_ptr. The returned hash is actually the result of (size_t) object.get_impl().get()

image<kDimensions, AllocatorT>
pitch_range<1>

Specialization of the pitch range for 1-dimensional images

pitch_range<kDimensions>

Helper struct to construct a range used for an image pitch, which uses one dimension less than the image it’s used in

syclreference.com — SYCL Reference Pages

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