DPC++ Runtime
Runtime libraries for oneAPI DPC++
info_desc_helpers.hpp File Reference
#include <sycl/detail/pi.hpp>
#include <sycl/info/info_desc.hpp>
#include <sycl/info/context_traits.def>
#include <sycl/info/event_traits.def>
#include <sycl/info/kernel_traits.def>
#include <sycl/info/platform_traits.def>
#include <sycl/info/queue_traits.def>
#include <sycl/info/event_profiling_traits.def>
#include <sycl/info/kernel_device_specific_traits.def>
#include <sycl/info/device_traits.def>
#include <sycl/info/ext_intel_device_traits.def>
#include <sycl/info/ext_oneapi_device_traits.def>
Include dependency graph for info_desc_helpers.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  sycl::_V1::detail::is_platform_info_desc< T >
 
struct  sycl::_V1::detail::is_context_info_desc< T >
 
struct  sycl::_V1::detail::is_device_info_desc< T >
 
struct  sycl::_V1::detail::is_queue_info_desc< T >
 
struct  sycl::_V1::detail::is_kernel_info_desc< T >
 
struct  sycl::_V1::detail::is_kernel_device_specific_info_desc< T >
 
struct  sycl::_V1::detail::is_event_info_desc< T >
 
struct  sycl::_V1::detail::is_event_profiling_info_desc< T >
 
struct  sycl::_V1::detail::IsSubGroupInfo< Param >
 
struct  sycl::_V1::detail::IsSubGroupInfo< info::kernel_device_specific::max_num_sub_groups >
 
struct  sycl::_V1::detail::IsSubGroupInfo< info::kernel_device_specific::compile_num_sub_groups >
 
struct  sycl::_V1::detail::IsSubGroupInfo< info::kernel_device_specific::max_sub_group_size >
 
struct  sycl::_V1::detail::IsSubGroupInfo< info::kernel_device_specific::compile_sub_group_size >
 

Namespaces

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

Macros

#define __SYCL_PARAM_TRAITS_SPEC(DescType, Desc, ReturnT, PiCode)
 
#define __SYCL_PARAM_TRAITS_SPEC(DescType, Desc, ReturnT, PiCode)
 
#define __SYCL_PARAM_TRAITS_SPEC(DescType, Desc, ReturnT, PiCode)
 
#define __SYCL_PARAM_TRAITS_SPEC(DescType, Desc, ReturnT, PiCode)
 
#define __SYCL_PARAM_TRAITS_SPEC_SPECIALIZED(DescType, Desc, ReturnT, PiCode)    __SYCL_PARAM_TRAITS_SPEC(DescType, Desc, ReturnT, PiCode)
 
#define __SYCL_PARAM_TRAITS_SPEC(Namespace, DescType, Desc, ReturnT, PiCode)
 

Macro Definition Documentation

◆ __SYCL_PARAM_TRAITS_SPEC [1/5]

#define __SYCL_PARAM_TRAITS_SPEC (   DescType,
  Desc,
  ReturnT,
  PiCode 
)
Value:
template <> struct PiInfoCode<info::DescType::Desc> { \
static constexpr pi_##DescType##_info value = PiCode; \
}; \
template <> \
struct is_##DescType##_info_desc<info::DescType::Desc> : std::true_type { \
using return_type = info::DescType::Desc::return_type; \
};

Definition at line 105 of file info_desc_helpers.hpp.

◆ __SYCL_PARAM_TRAITS_SPEC [2/5]

#define __SYCL_PARAM_TRAITS_SPEC (   DescType,
  Desc,
  ReturnT,
  PiCode 
)
Value:
template <> struct PiInfoCode<info::DescType::Desc> { \
static constexpr pi_profiling_info value = PiCode; \
}; \
template <> \
struct is_##DescType##_info_desc<info::DescType::Desc> : std::true_type { \
using return_type = info::DescType::Desc::return_type; \
};
_pi_profiling_info
Definition: pi.h:538

Definition at line 105 of file info_desc_helpers.hpp.

◆ __SYCL_PARAM_TRAITS_SPEC [3/5]

#define __SYCL_PARAM_TRAITS_SPEC (   DescType,
  Desc,
  ReturnT,
  PiCode 
)
Value:
template <> struct PiInfoCode<info::DescType::Desc> { \
static constexpr \
typename std::conditional<IsSubGroupInfo<info::DescType::Desc>::value, \
pi_kernel_sub_group_info, \
pi_kernel_group_info>::type value = PiCode; \
}; \
template <> \
struct is_##DescType##_info_desc<info::DescType::Desc> : std::true_type { \
using return_type = info::DescType::Desc::return_type; \
};

Definition at line 105 of file info_desc_helpers.hpp.

◆ __SYCL_PARAM_TRAITS_SPEC [4/5]

#define __SYCL_PARAM_TRAITS_SPEC (   DescType,
  Desc,
  ReturnT,
  PiCode 
)
Value:
template <> struct PiInfoCode<info::DescType::Desc> { \
static constexpr pi_device_info value = \
static_cast<pi_device_info>(PiCode); \
}; \
template <> \
struct is_##DescType##_info_desc<info::DescType::Desc> : std::true_type { \
using return_type = info::DescType::Desc::return_type; \
};
_pi_device_info
Definition: pi.h:187

Definition at line 105 of file info_desc_helpers.hpp.

◆ __SYCL_PARAM_TRAITS_SPEC [5/5]

#define __SYCL_PARAM_TRAITS_SPEC (   Namespace,
  DescType,
  Desc,
  ReturnT,
  PiCode 
)
Value:
template <> struct PiInfoCode<Namespace::info::DescType::Desc> { \
static constexpr pi_device_info value = \
static_cast<pi_device_info>(PiCode); \
}; \
template <> \
struct is_##DescType##_info_desc<Namespace::info::DescType::Desc> \
: std::true_type { \
using return_type = Namespace::info::DescType::Desc::return_type; \
};

Definition at line 105 of file info_desc_helpers.hpp.

◆ __SYCL_PARAM_TRAITS_SPEC_SPECIALIZED

#define __SYCL_PARAM_TRAITS_SPEC_SPECIALIZED (   DescType,
  Desc,
  ReturnT,
  PiCode 
)     __SYCL_PARAM_TRAITS_SPEC(DescType, Desc, ReturnT, PiCode)

Definition at line 97 of file info_desc_helpers.hpp.