26 inline namespace _V1 {
36 #define __SYCL_PARAM_TRAITS_SPEC(DescType, Desc, ReturnT, PiCode) \
38 using return_type = ReturnT; \
45 "with info::device::aspects
instead") extensions;
46 #include <sycl/info/platform_traits.def>
50 #include <sycl/info/context_traits.def>
108 struct atomic_fence_order_capabilities;
109 struct atomic_fence_scope_capabilities;
111 #define __SYCL_PARAM_TRAITS_DEPRECATED(Desc, Message) \
112 struct __SYCL2020_DEPRECATED(Message) Desc;
113 #include <sycl/info/device_traits_deprecated.def>
114 #undef __SYCL_PARAM_TRAITS_DEPRECATED
117 #define __SYCL_PARAM_TRAITS_TEMPLATE_SPEC(DescType, Desc, ReturnT, PiCode) \
118 template <> struct Desc { \
119 using return_type = ReturnT; \
121 #define __SYCL_PARAM_TRAITS_SPEC_SPECIALIZED(DescType, Desc, ReturnT, PiCode) \
122 __SYCL_PARAM_TRAITS_SPEC(DescType, Desc, ReturnT, PiCode)
124 #include <sycl/info/device_traits.def>
126 #undef __SYCL_PARAM_TRAITS_SPEC_SPECIALIZED
127 #undef __SYCL_PARAM_TRAITS_TEMPLATE_SPEC
131 #include <sycl/info/queue_traits.def>
136 #include <sycl/info/kernel_traits.def>
139 namespace kernel_device_specific {
140 #include <sycl/info/kernel_device_specific_traits.def>
154 #include <sycl/info/event_traits.def>
156 namespace event_profiling {
157 #include <sycl/info/event_profiling_traits.def>
159 #undef __SYCL_PARAM_TRAITS_SPEC
166 #define __SYCL_PARAM_TRAITS_SPEC(param_type, param, ret_type) \
167 template <> class param_traits<param_type, param_type::param> { \
169 using return_type = ret_type; \
171 #undef __SYCL_PARAM_TRAITS_SPEC
174 #define __SYCL_PARAM_TRAITS_SPEC(Namespace, DescType, Desc, ReturnT, PiCode) \
175 namespace Namespace { \
177 namespace DescType { \
179 using return_type = ReturnT; \
185 #define __SYCL_PARAM_TRAITS_TEMPLATE_SPEC(Namespace, DescType, Desc, ReturnT, \
187 namespace Namespace { \
189 namespace DescType { \
190 template <> struct Desc { \
191 using return_type = ReturnT; \
197 namespace ext::oneapi::experimental::info::device {
199 template <ext::oneapi::experimental::execution_scope CoordinationScope>
201 template <ext::oneapi::experimental::execution_scope CoordinationScope>
203 template <ext::oneapi::experimental::execution_scope CoordinationScope>
207 #include <sycl/info/ext_codeplay_device_traits.def>
208 #include <sycl/info/ext_intel_device_traits.def>
209 #include <sycl/info/ext_oneapi_device_traits.def>
210 #undef __SYCL_PARAM_TRAITS_SPEC
211 #undef __SYCL_PARAM_TRAITS_TEMPLATE_SPEC
The context class represents a SYCL context on which kernel functions may be executed.
The SYCL device class encapsulates a single SYCL device on which kernels may be executed.
An event object can be used to synchronize memory transfers, enqueues of kernels and signaling barrie...
Objects of the class identify kernel is some kernel_bundle related APIs.
Provides an abstraction of a SYCL kernel.
Encapsulates a single SYCL queue which schedules kernels on a SYCL device.
partition_affinity_domain
@ partition_by_affinity_domain
@ ext_intel_partition_by_cslice
@ correctly_rounded_divide_sqrt
constexpr mode_tag_t< access_mode::read > read_only
signed char __SYCL2020_DEPRECATED
constexpr mode_tag_t< access_mode::read_write > read_write
static constexpr pi_device_affinity_domain PI_DEVICE_AFFINITY_DOMAIN_NEXT_PARTITIONABLE
static constexpr pi_device_partition_property PI_EXT_INTEL_DEVICE_PARTITION_BY_CSLICE
static constexpr pi_device_fp_config PI_FP_DENORM
static constexpr pi_device_affinity_domain PI_DEVICE_AFFINITY_DOMAIN_L2_CACHE
static constexpr pi_device_affinity_domain PI_DEVICE_AFFINITY_DOMAIN_L3_CACHE
static constexpr pi_device_partition_property PI_DEVICE_PARTITION_BY_COUNTS
@ PI_DEVICE_TYPE_ACC
A PI device that is a dedicated accelerator.
@ PI_DEVICE_TYPE_ALL
All devices available in the PI plugin.
@ PI_DEVICE_TYPE_GPU
A PI device that is a GPU.
@ PI_DEVICE_TYPE_CUSTOM
A PI device that is a custom device.
@ PI_DEVICE_TYPE_CPU
A PI device that is the host processor.
static constexpr pi_device_partition_property PI_DEVICE_PARTITION_EQUALLY
static constexpr pi_device_affinity_domain PI_DEVICE_AFFINITY_DOMAIN_L4_CACHE
static constexpr pi_device_fp_config PI_FP_ROUND_TO_NEAREST
static constexpr pi_device_partition_property PI_DEVICE_PARTITION_BY_AFFINITY_DOMAIN
static constexpr pi_device_fp_config PI_FP_ROUND_TO_INF
static constexpr pi_device_affinity_domain PI_DEVICE_AFFINITY_DOMAIN_L1_CACHE
static constexpr pi_device_affinity_domain PI_DEVICE_AFFINITY_DOMAIN_NUMA
pi_bitfield pi_device_fp_config
static constexpr pi_device_fp_config PI_FP_ROUND_TO_ZERO
static constexpr pi_device_fp_config PI_FP_FMA
intptr_t pi_device_partition_property
static constexpr pi_device_fp_config PI_FP_INF_NAN
pi_bitfield pi_device_affinity_domain