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

Go to the source code of this file.

Classes

class  sycl::_V1::info::param_traits< T, param >
 
struct  sycl::_V1::info::compatibility_param_traits< T, param >
 

Namespaces

 sycl
 ---— Error handling, matching OpenCL plugin semantics.
 
 sycl::_V1
 
 sycl::_V1::info
 
 sycl::_V1::info::platform
 
 sycl::_V1::info::context
 
 sycl::_V1::info::device
 
 sycl::_V1::info::queue
 
 sycl::_V1::info::kernel
 
 sycl::_V1::info::kernel_device_specific
 
 sycl::_V1::info::event
 
 sycl::_V1::info::event_profiling
 
 sycl::_V1::ext
 
 sycl::_V1::ext::oneapi
 
 sycl::_V1::ext::oneapi::experimental
 
 sycl::_V1::ext::oneapi::experimental::info
 
 sycl::_V1::ext::oneapi::experimental::info::device
 

Macros

#define __SYCL_PARAM_TRAITS_SPEC(DescType, Desc, ReturnT, PiCode)
 
#define __SYCL_PARAM_TRAITS_DEPRECATED(Desc, Message)    struct __SYCL2020_DEPRECATED(Message) Desc;
 
#define __SYCL_PARAM_TRAITS_TEMPLATE_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(param_type, param, ret_type)
 
#define __SYCL_PARAM_TRAITS_SPEC(Namespace, DescType, Desc, ReturnT, PiCode)
 
#define __SYCL_PARAM_TRAITS_TEMPLATE_SPEC(Namespace, DescType, Desc, ReturnT, PiCode)
 

Enumerations

enum class  sycl::_V1::info::device_type : pi_uint64 {
  sycl::_V1::info::cpu = PI_DEVICE_TYPE_CPU , sycl::_V1::info::gpu = PI_DEVICE_TYPE_GPU , sycl::_V1::info::accelerator = PI_DEVICE_TYPE_ACC , sycl::_V1::info::custom = PI_DEVICE_TYPE_CUSTOM ,
  sycl::_V1::info::automatic , sycl::_V1::info::host , sycl::_V1::info::all = PI_DEVICE_TYPE_ALL
}
 
enum class  sycl::_V1::info::partition_property : pi_device_partition_property { sycl::_V1::info::no_partition = 0 , sycl::_V1::info::partition_equally = PI_DEVICE_PARTITION_EQUALLY , sycl::_V1::info::partition_by_counts = PI_DEVICE_PARTITION_BY_COUNTS , sycl::_V1::info::partition_by_affinity_domain = PI_DEVICE_PARTITION_BY_AFFINITY_DOMAIN }
 
enum class  sycl::_V1::info::partition_affinity_domain : pi_device_affinity_domain {
  sycl::_V1::info::not_applicable = 0 , sycl::_V1::info::numa = PI_DEVICE_AFFINITY_DOMAIN_NUMA , sycl::_V1::info::L4_cache = PI_DEVICE_AFFINITY_DOMAIN_L4_CACHE , sycl::_V1::info::L3_cache = PI_DEVICE_AFFINITY_DOMAIN_L3_CACHE ,
  sycl::_V1::info::L2_cache = PI_DEVICE_AFFINITY_DOMAIN_L2_CACHE , sycl::_V1::info::L1_cache = PI_DEVICE_AFFINITY_DOMAIN_L1_CACHE , sycl::_V1::info::next_partitionable = PI_DEVICE_AFFINITY_DOMAIN_NEXT_PARTITIONABLE
}
 
enum class  sycl::_V1::info::local_mem_type : int { sycl::_V1::info::none , sycl::_V1::info::local , sycl::_V1::info::global }
 
enum class  sycl::_V1::info::fp_config : pi_device_fp_config {
  sycl::_V1::info::denorm = PI_FP_DENORM , sycl::_V1::info::inf_nan = PI_FP_INF_NAN , sycl::_V1::info::round_to_nearest = PI_FP_ROUND_TO_NEAREST , sycl::_V1::info::round_to_zero = PI_FP_ROUND_TO_ZERO ,
  sycl::_V1::info::round_to_inf = PI_FP_ROUND_TO_INF , sycl::_V1::info::fma = PI_FP_FMA , sycl::_V1::info::correctly_rounded_divide_sqrt , sycl::_V1::info::soft_float
}
 
enum class  sycl::_V1::info::global_mem_cache_type : int { sycl::_V1::info::none , sycl::_V1::info::read_only , sycl::_V1::info::read_write }
 
enum class  sycl::_V1::info::execution_capability : unsigned int { sycl::_V1::info::exec_kernel , sycl::_V1::info::exec_native_kernel }
 
enum class  sycl::_V1::info::event_command_status : pi_int32 { sycl::_V1::info::submitted = PI_EVENT_SUBMITTED , sycl::_V1::info::running = PI_EVENT_RUNNING , sycl::_V1::info::complete = PI_EVENT_COMPLETE , sycl::_V1::info::ext_oneapi_unknown = -1 }
 

Functions

struct sycl::_V1::info::platform::__SYCL2020_DEPRECATED ("deprecated in SYCL 2020, use device::get_info() " "with info::device::aspects instead") extensions
 

Macro Definition Documentation

◆ __SYCL_PARAM_TRAITS_DEPRECATED

#define __SYCL_PARAM_TRAITS_DEPRECATED (   Desc,
  Message 
)     struct __SYCL2020_DEPRECATED(Message) Desc;

Definition at line 96 of file info_desc.hpp.

◆ __SYCL_PARAM_TRAITS_SPEC [1/3]

#define __SYCL_PARAM_TRAITS_SPEC (   DescType,
  Desc,
  ReturnT,
  PiCode 
)
Value:
struct Desc { \
using return_type = ReturnT; \
};

Definition at line 159 of file info_desc.hpp.

◆ __SYCL_PARAM_TRAITS_SPEC [2/3]

#define __SYCL_PARAM_TRAITS_SPEC (   Namespace,
  DescType,
  Desc,
  ReturnT,
  PiCode 
)
Value:
namespace Namespace { \
namespace info { \
namespace DescType { \
struct Desc { \
using return_type = ReturnT; \
}; \
} /*DescType*/ \
} /*info*/ \
} /*Namespace*/

Definition at line 159 of file info_desc.hpp.

◆ __SYCL_PARAM_TRAITS_SPEC [3/3]

#define __SYCL_PARAM_TRAITS_SPEC (   param_type,
  param,
  ret_type 
)
Value:
template <> class param_traits<param_type, param_type::param> { \
public: \
using return_type = ret_type; \
};

Definition at line 159 of file info_desc.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 106 of file info_desc.hpp.

◆ __SYCL_PARAM_TRAITS_TEMPLATE_SPEC [1/2]

#define __SYCL_PARAM_TRAITS_TEMPLATE_SPEC (   DescType,
  Desc,
  ReturnT,
  PiCode 
)
Value:
template <> struct Desc { \
using return_type = ReturnT; \
};

Definition at line 170 of file info_desc.hpp.

◆ __SYCL_PARAM_TRAITS_TEMPLATE_SPEC [2/2]

#define __SYCL_PARAM_TRAITS_TEMPLATE_SPEC (   Namespace,
  DescType,
  Desc,
  ReturnT,
  PiCode 
)
Value:
namespace Namespace { \
namespace info { \
namespace DescType { \
template <> struct Desc { \
using return_type = ReturnT; \
}; \
} /*namespace DescType */ \
} /*namespace info */ \
} /*namespace Namespace */

Definition at line 170 of file info_desc.hpp.