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

Samplers

Enumerations

addressing_mode

Enum class for specifying the addressing mode of a sampler. Values are hard coded to match those of OpenCL in order to allow a simple cast when converting.

coordinate_normalization_mode

Filtering mode description

filtering_mode

Enum class for specifying the filter mode of a sampler. Values are hard coded to match those of OpenCL in order to allow a simple cast when converting.

Classes

hash<cl::sycl::sampler>

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()

sampler

syclreference.com — SYCL Reference Pages

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