sampler
MISSING
(1) | |
(2) | |
(3) | |
(4) | |
(5) | |
(6) |
-
(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/
-
-
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.
-
-
Default move constructor.
Parameters:-
cl::sycl::sampler &&
rhs
-
-
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
-
-
(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.
-
-
Default copy constructor.
Parameters:-
const cl::sycl::sampler &
rhs
-