25 inline namespace _V1 {
35 #define __SYCL_PARAM_TRAITS_SPEC(DescType, Desc, ReturnT, PiCode) \
37 using return_type = ReturnT; \
44 "with info::device::aspects
instead") extensions;
45 #include <sycl/info/platform_traits.def>
49 #include <sycl/info/context_traits.def>
107 struct atomic_fence_order_capabilities;
108 struct atomic_fence_scope_capabilities;
110 #define __SYCL_PARAM_TRAITS_DEPRECATED(Desc, Message) \
111 struct __SYCL2020_DEPRECATED(Message) Desc;
112 #include <sycl/info/device_traits_deprecated.def>
113 #undef __SYCL_PARAM_TRAITS_DEPRECATED
116 #define __SYCL_PARAM_TRAITS_TEMPLATE_SPEC(DescType, Desc, ReturnT, PiCode) \
117 template <> struct Desc { \
118 using return_type = ReturnT; \
120 #define __SYCL_PARAM_TRAITS_SPEC_SPECIALIZED(DescType, Desc, ReturnT, PiCode) \
121 __SYCL_PARAM_TRAITS_SPEC(DescType, Desc, ReturnT, PiCode)
123 #include <sycl/info/device_traits.def>
125 #undef __SYCL_PARAM_TRAITS_SPEC_SPECIALIZED
126 #undef __SYCL_PARAM_TRAITS_TEMPLATE_SPEC
130 #include <sycl/info/queue_traits.def>
135 #include <sycl/info/kernel_traits.def>
138 namespace kernel_device_specific {
139 #include <sycl/info/kernel_device_specific_traits.def>
153 #include <sycl/info/event_traits.def>
155 namespace event_profiling {
156 #include <sycl/info/event_profiling_traits.def>
158 #undef __SYCL_PARAM_TRAITS_SPEC
165 #define __SYCL_PARAM_TRAITS_SPEC(param_type, param, ret_type) \
166 template <> class param_traits<param_type, param_type::param> { \
168 using return_type = ret_type; \
170 #undef __SYCL_PARAM_TRAITS_SPEC
173 #define __SYCL_PARAM_TRAITS_SPEC(Namespace, DescType, Desc, ReturnT, PiCode) \
174 namespace Namespace { \
176 namespace DescType { \
178 using return_type = ReturnT; \
184 #define __SYCL_PARAM_TRAITS_TEMPLATE_SPEC(Namespace, DescType, Desc, ReturnT, \
186 namespace Namespace { \
188 namespace DescType { \
189 template <> struct Desc { \
190 using return_type = ReturnT; \
196 namespace ext::oneapi::experimental::info::device {
199 #include <sycl/info/ext_codeplay_device_traits.def>
200 #include <sycl/info/ext_intel_device_traits.def>
201 #include <sycl/info/ext_oneapi_device_traits.def>
202 #undef __SYCL_PARAM_TRAITS_SPEC
203 #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