syclreference.com
  1. SYCL
  2. | API Reference
  3. | Samplers
  4. | sampler
  5. | sampler

sampler

MISSING


explicit sampler(cl_sampler clSampler)
(1)
sampler(cl::sycl::coordinate_normalization_mode normalizedCoords, cl::sycl::addressing_mode addressMode, cl::sycl::filtering_mode filterMode)
(2)
sampler(cl::sycl::sampler && rhs)
(3)
sampler(cl_sampler clSampler, const cl::sycl::context & syclContext)
(4)
sampler(const bool normalizedCoords, const cl::sycl::addressing_mode addressMode, const cl::sycl::filtering_mode filterMode)
(5)
sampler(const cl::sycl::sampler & rhs)
(6)
  1. (deprecated (sampler(cl_sampler) deprecated in SYCL 1.2.1, please also provide a SYCL context)) Inter-op constructor that creates a sampler from a cl_sampler object.
    Parameters:
    • cl_sampler clSampler : OpenCL cl_sampler object/
  2. Constructor that creates a sampler from the sampler addressing mode sampler filter mode and a boolean specifying whether normalized coordinates are enabled.
    Parameters:
    • cl::sycl::coordinate_normalization_mode normalizedCoords : Value specifying whether normalized coordinates are
    • cl::sycl::addressing_mode addressMode : The sampler addressing mode.
    • cl::sycl::filtering_mode filterMode : The sampler filter mode.
  3. Default move constructor.
    Parameters:
    • cl::sycl::sampler && rhs
  4. Inter-op constructor that creates a sampler from a cl_sampler object
    Parameters:
    • cl_sampler clSampler : OpenCL cl_sampler object
    • const cl::sycl::context & syclContext : Context associated with the OpenCL sampler object
  5. (deprecated (sampler::sampler(bool, addressing_mode, filtering_mode) deprecated. Usesampler::sampler(coordinate_normalization_mode, addressing_mode,filtering_mode) instead.)) Constructor that creates a sampler from the sampler addressing mode sampler filter mode and a boolean specifying whether normalized coordinates are enabled.
    Parameters:
    • const bool normalizedCoords : Boolean specifying whether normalized coordinates are
    • const cl::sycl::addressing_mode addressMode : The sampler addressing mode.
    • const cl::sycl::filtering_mode filterMode : The sampler filter mode.
  6. Default copy constructor.
    Parameters:
    • const cl::sycl::sampler & rhs

syclreference.com — SYCL Reference Pages

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