DPC++ Runtime
Runtime libraries for oneAPI DPC++
sampler.cpp File Reference
#include <detail/sampler_impl.hpp>
#include <sycl/properties/all_properties.hpp>
#include <sycl/property_list.hpp>
#include <sycl/sampler.hpp>
#include <sycl/detail/properties_traits.def>
Include dependency graph for sampler.cpp:

Go to the source code of this file.

Namespaces

 sycl
 ---— Error handling, matching OpenCL plugin semantics.
 
 sycl::_V1
 

Macros

#define __SYCL_PARAM_TRAITS_SPEC(param_type)
 
#define __SYCL_PARAM_TRAITS_SPEC(param_type)
 

Macro Definition Documentation

◆ __SYCL_PARAM_TRAITS_SPEC [1/2]

#define __SYCL_PARAM_TRAITS_SPEC (   param_type)
Value:
template <> \
__SYCL_EXPORT bool sampler::has_property<param_type>() const noexcept { \
return impl->has_property<param_type>(); \
}

Definition at line 55 of file sampler.cpp.

◆ __SYCL_PARAM_TRAITS_SPEC [2/2]

#define __SYCL_PARAM_TRAITS_SPEC (   param_type)
Value:
template <> \
__SYCL_EXPORT param_type sampler::get_property<param_type>() const { \
return impl->get_property<param_type>(); \
}

Definition at line 55 of file sampler.cpp.