DPC++ Runtime
Runtime libraries for oneAPI DPC++
cl::sycl::info Namespace Reference

Classes

struct  compatibility_param_traits
 
class  param_traits
 

Enumerations

enum  platform {
  platform::profile = PI_PLATFORM_INFO_PROFILE, platform::version = PI_PLATFORM_INFO_VERSION, platform::name = PI_PLATFORM_INFO_NAME, platform::vendor = PI_PLATFORM_INFO_VENDOR,
  platform::__SYCL2020_DEPRECATED
}
 
enum  context : pi_uint32 {
  context::reference_count = PI_CONTEXT_INFO_REFERENCE_COUNT, context::platform = PI_CONTEXT_INFO_PLATFORM, context::devices = PI_CONTEXT_INFO_DEVICES, context::atomic_memory_order_capabilities,
  context::atomic_memory_scope_capabilities
}
 
enum  device : pi_uint32 {
  device::device_type = PI_DEVICE_INFO_TYPE, device::vendor_id = PI_DEVICE_INFO_VENDOR_ID, device::max_compute_units = PI_DEVICE_INFO_MAX_COMPUTE_UNITS, device::max_work_item_dimensions = PI_DEVICE_INFO_MAX_WORK_ITEM_DIMENSIONS,
  device::max_work_item_sizes = PI_DEVICE_INFO_MAX_WORK_ITEM_SIZES, device::max_work_group_size = PI_DEVICE_INFO_MAX_WORK_GROUP_SIZE, device::preferred_vector_width_char = PI_DEVICE_INFO_PREFERRED_VECTOR_WIDTH_CHAR, device::preferred_vector_width_short = PI_DEVICE_INFO_PREFERRED_VECTOR_WIDTH_SHORT,
  device::preferred_vector_width_int = PI_DEVICE_INFO_PREFERRED_VECTOR_WIDTH_INT, device::preferred_vector_width_long = PI_DEVICE_INFO_PREFERRED_VECTOR_WIDTH_LONG, device::preferred_vector_width_float = PI_DEVICE_INFO_PREFERRED_VECTOR_WIDTH_FLOAT, device::preferred_vector_width_double = PI_DEVICE_INFO_PREFERRED_VECTOR_WIDTH_DOUBLE,
  device::preferred_vector_width_half = PI_DEVICE_INFO_PREFERRED_VECTOR_WIDTH_HALF, device::native_vector_width_char = PI_DEVICE_INFO_NATIVE_VECTOR_WIDTH_CHAR, device::native_vector_width_short = PI_DEVICE_INFO_NATIVE_VECTOR_WIDTH_SHORT, device::native_vector_width_int = PI_DEVICE_INFO_NATIVE_VECTOR_WIDTH_INT,
  device::native_vector_width_long = PI_DEVICE_INFO_NATIVE_VECTOR_WIDTH_LONG, device::native_vector_width_float = PI_DEVICE_INFO_NATIVE_VECTOR_WIDTH_FLOAT, device::native_vector_width_double = PI_DEVICE_INFO_NATIVE_VECTOR_WIDTH_DOUBLE, device::native_vector_width_half = PI_DEVICE_INFO_NATIVE_VECTOR_WIDTH_HALF,
  device::max_clock_frequency = PI_DEVICE_INFO_MAX_CLOCK_FREQUENCY, device::address_bits = PI_DEVICE_INFO_ADDRESS_BITS, device::max_mem_alloc_size = PI_DEVICE_INFO_MAX_MEM_ALLOC_SIZE, device::image_support = PI_DEVICE_INFO_IMAGE_SUPPORT,
  device::max_read_image_args = PI_DEVICE_INFO_MAX_READ_IMAGE_ARGS, device::max_write_image_args = PI_DEVICE_INFO_MAX_WRITE_IMAGE_ARGS, device::image2d_max_width = PI_DEVICE_INFO_IMAGE2D_MAX_WIDTH, device::image2d_max_height = PI_DEVICE_INFO_IMAGE2D_MAX_HEIGHT,
  device::image3d_max_width = PI_DEVICE_INFO_IMAGE3D_MAX_WIDTH, device::image3d_max_height = PI_DEVICE_INFO_IMAGE3D_MAX_HEIGHT, device::image3d_max_depth = PI_DEVICE_INFO_IMAGE3D_MAX_DEPTH, device::image_max_buffer_size = PI_DEVICE_INFO_IMAGE_MAX_BUFFER_SIZE,
  device::image_max_array_size = PI_DEVICE_INFO_IMAGE_MAX_ARRAY_SIZE, device::max_samplers = PI_DEVICE_INFO_MAX_SAMPLERS, device::max_parameter_size = PI_DEVICE_INFO_MAX_PARAMETER_SIZE, device::mem_base_addr_align = PI_DEVICE_INFO_MEM_BASE_ADDR_ALIGN,
  device::half_fp_config = PI_DEVICE_INFO_HALF_FP_CONFIG, device::single_fp_config = PI_DEVICE_INFO_SINGLE_FP_CONFIG, device::double_fp_config = PI_DEVICE_INFO_DOUBLE_FP_CONFIG, device::global_mem_cache_type = PI_DEVICE_INFO_GLOBAL_MEM_CACHE_TYPE,
  device::global_mem_cache_line_size = PI_DEVICE_INFO_GLOBAL_MEM_CACHELINE_SIZE, device::global_mem_cache_size = PI_DEVICE_INFO_GLOBAL_MEM_CACHE_SIZE, device::global_mem_size = PI_DEVICE_INFO_GLOBAL_MEM_SIZE, device::__SYCL2020_DEPRECATED,
  device::__SYCL2020_DEPRECATED, device::local_mem_type = PI_DEVICE_INFO_LOCAL_MEM_TYPE, device::local_mem_size = PI_DEVICE_INFO_LOCAL_MEM_SIZE, device::error_correction_support = PI_DEVICE_INFO_ERROR_CORRECTION_SUPPORT,
  device::host_unified_memory = PI_DEVICE_INFO_HOST_UNIFIED_MEMORY, device::profiling_timer_resolution = PI_DEVICE_INFO_PROFILING_TIMER_RESOLUTION, device::is_endian_little = PI_DEVICE_INFO_ENDIAN_LITTLE, device::is_available = PI_DEVICE_INFO_AVAILABLE,
  device::is_compiler_available = PI_DEVICE_INFO_COMPILER_AVAILABLE, device::is_linker_available = PI_DEVICE_INFO_LINKER_AVAILABLE, device::execution_capabilities = PI_DEVICE_INFO_EXECUTION_CAPABILITIES, device::queue_profiling = PI_DEVICE_INFO_QUEUE_PROPERTIES,
  device::__SYCL2020_DEPRECATED, device::platform = PI_DEVICE_INFO_PLATFORM, device::name = PI_DEVICE_INFO_NAME, device::vendor = PI_DEVICE_INFO_VENDOR,
  device::driver_version = PI_DEVICE_INFO_DRIVER_VERSION, device::profile = PI_DEVICE_INFO_PROFILE, device::version = PI_DEVICE_INFO_VERSION, device::opencl_c_version = PI_DEVICE_INFO_OPENCL_C_VERSION,
  device::__SYCL2020_DEPRECATED, device::printf_buffer_size = PI_DEVICE_INFO_PRINTF_BUFFER_SIZE, device::preferred_interop_user_sync = PI_DEVICE_INFO_PREFERRED_INTEROP_USER_SYNC, device::parent_device = PI_DEVICE_INFO_PARENT_DEVICE,
  device::partition_max_sub_devices = PI_DEVICE_INFO_PARTITION_MAX_SUB_DEVICES, device::partition_properties = PI_DEVICE_INFO_PARTITION_PROPERTIES, device::partition_affinity_domains = PI_DEVICE_INFO_PARTITION_AFFINITY_DOMAIN, device::partition_type_affinity_domain = PI_DEVICE_INFO_PARTITION_TYPE,
  device::reference_count = PI_DEVICE_INFO_REFERENCE_COUNT, device::il_version = PI_DEVICE_INFO_IL_VERSION, device::max_num_sub_groups = PI_DEVICE_INFO_MAX_NUM_SUB_GROUPS, device::sub_group_independent_forward_progress,
  device::sub_group_sizes = PI_DEVICE_INFO_SUB_GROUP_SIZES_INTEL, device::partition_type_property, device::kernel_kernel_pipe_support, device::built_in_kernel_ids,
  device::backend_version = PI_DEVICE_INFO_BACKEND_VERSION, device::usm_device_allocations = PI_USM_DEVICE_SUPPORT, device::usm_host_allocations = PI_USM_HOST_SUPPORT, device::usm_shared_allocations = PI_USM_SINGLE_SHARED_SUPPORT,
  device::usm_restricted_shared_allocations = PI_USM_CROSS_SHARED_SUPPORT, device::usm_system_allocations = PI_USM_SYSTEM_SHARED_SUPPORT, device::__SYCL2020_DEPRECATED, device::ext_intel_pci_address = PI_DEVICE_INFO_PCI_ADDRESS,
  device::ext_intel_gpu_eu_count = PI_DEVICE_INFO_GPU_EU_COUNT, device::ext_intel_gpu_eu_simd_width = PI_DEVICE_INFO_GPU_EU_SIMD_WIDTH, device::ext_intel_gpu_slices = PI_DEVICE_INFO_GPU_SLICES, device::ext_intel_gpu_subslices_per_slice = PI_DEVICE_INFO_GPU_SUBSLICES_PER_SLICE,
  device::ext_intel_gpu_eu_count_per_subslice, device::ext_intel_gpu_hw_threads_per_eu = PI_DEVICE_INFO_GPU_HW_THREADS_PER_EU, device::ext_intel_max_mem_bandwidth = PI_DEVICE_INFO_MAX_MEM_BANDWIDTH, device::ext_intel_mem_channel = PI_MEM_PROPERTIES_CHANNEL,
  device::ext_oneapi_srgb = PI_DEVICE_INFO_IMAGE_SRGB, device::ext_intel_device_info_uuid = PI_DEVICE_INFO_UUID, device::atomic64 = PI_DEVICE_INFO_ATOMIC_64, device::atomic_memory_order_capabilities,
  device::ext_oneapi_max_global_work_groups, device::ext_oneapi_max_work_groups_1d = PI_EXT_ONEAPI_DEVICE_INFO_MAX_WORK_GROUPS_1D, device::ext_oneapi_max_work_groups_2d = PI_EXT_ONEAPI_DEVICE_INFO_MAX_WORK_GROUPS_2D, device::ext_oneapi_max_work_groups_3d = PI_EXT_ONEAPI_DEVICE_INFO_MAX_WORK_GROUPS_3D,
  device::atomic_memory_scope_capabilities, device::ext_oneapi_bfloat16 = PI_EXT_ONEAPI_DEVICE_INFO_BFLOAT16
}
 
enum  device_type : pi_uint64 {
  device_type::cpu = PI_DEVICE_TYPE_CPU, device_type::gpu = PI_DEVICE_TYPE_GPU, device_type::accelerator = PI_DEVICE_TYPE_ACC, device_type::custom = PI_DEVICE_TYPE_CUSTOM,
  device_type::automatic, device_type::host, device_type::all = PI_DEVICE_TYPE_ALL
}
 
enum  partition_property : pi_device_partition_property { partition_property::no_partition = 0, partition_property::partition_equally = PI_DEVICE_PARTITION_EQUALLY, partition_property::partition_by_counts = PI_DEVICE_PARTITION_BY_COUNTS, partition_property::partition_by_affinity_domain = PI_DEVICE_PARTITION_BY_AFFINITY_DOMAIN }
 
enum  partition_affinity_domain : pi_device_affinity_domain {
  partition_affinity_domain::not_applicable = 0, partition_affinity_domain::numa = PI_DEVICE_AFFINITY_DOMAIN_NUMA, partition_affinity_domain::L4_cache = PI_DEVICE_AFFINITY_DOMAIN_L4_CACHE, partition_affinity_domain::L3_cache = PI_DEVICE_AFFINITY_DOMAIN_L3_CACHE,
  partition_affinity_domain::L2_cache = PI_DEVICE_AFFINITY_DOMAIN_L2_CACHE, partition_affinity_domain::L1_cache = PI_DEVICE_AFFINITY_DOMAIN_L1_CACHE, partition_affinity_domain::next_partitionable = PI_DEVICE_AFFINITY_DOMAIN_NEXT_PARTITIONABLE
}
 
enum  local_mem_type : int { local_mem_type::none, local_mem_type::local, local_mem_type::global }
 
enum  fp_config : pi_device_fp_config {
  fp_config::denorm = PI_FP_DENORM, fp_config::inf_nan = PI_FP_INF_NAN, fp_config::round_to_nearest = PI_FP_ROUND_TO_NEAREST, fp_config::round_to_zero = PI_FP_ROUND_TO_ZERO,
  fp_config::round_to_inf = PI_FP_ROUND_TO_INF, fp_config::fma = PI_FP_FMA, fp_config::correctly_rounded_divide_sqrt, fp_config::soft_float
}
 
enum  global_mem_cache_type : int { global_mem_cache_type::none, global_mem_cache_type::read_only, global_mem_cache_type::read_write }
 
enum  execution_capability : unsigned int { execution_capability::exec_kernel, execution_capability::exec_native_kernel }
 
enum  queue : pi_uint32 { queue::context = PI_QUEUE_INFO_CONTEXT, queue::device = PI_QUEUE_INFO_DEVICE, queue::reference_count = PI_QUEUE_INFO_REFERENCE_COUNT }
 
enum  kernel : pi_uint32 {
  kernel::function_name = PI_KERNEL_INFO_FUNCTION_NAME, kernel::num_args = PI_KERNEL_INFO_NUM_ARGS, kernel::context = PI_KERNEL_INFO_CONTEXT, kernel::reference_count = PI_KERNEL_INFO_REFERENCE_COUNT,
  kernel::attributes = PI_KERNEL_INFO_ATTRIBUTES
}
 
enum  kernel_sub_group : pi_uint32 { kernel_sub_group::max_sub_group_size = PI_KERNEL_MAX_SUB_GROUP_SIZE, kernel_sub_group::max_num_sub_groups = PI_KERNEL_MAX_NUM_SUB_GROUPS, kernel_sub_group::compile_num_sub_groups = PI_KERNEL_COMPILE_NUM_SUB_GROUPS, kernel_sub_group::compile_sub_group_size = PI_KERNEL_COMPILE_SUB_GROUP_SIZE_INTEL }
 
enum  kernel_device_specific : pi_uint32 {
  kernel_device_specific::global_work_size = PI_KERNEL_GROUP_INFO_GLOBAL_WORK_SIZE, kernel_device_specific::work_group_size = PI_KERNEL_GROUP_INFO_WORK_GROUP_SIZE, kernel_device_specific::compile_work_group_size = PI_KERNEL_GROUP_INFO_COMPILE_WORK_GROUP_SIZE, kernel_device_specific::preferred_work_group_size_multiple,
  kernel_device_specific::private_mem_size = PI_KERNEL_GROUP_INFO_PRIVATE_MEM_SIZE, kernel_device_specific::ext_codeplay_num_regs = PI_KERNEL_GROUP_INFO_NUM_REGS, kernel_device_specific::max_sub_group_size = PI_KERNEL_MAX_SUB_GROUP_SIZE, kernel_device_specific::max_num_sub_groups = PI_KERNEL_MAX_NUM_SUB_GROUPS,
  kernel_device_specific::compile_num_sub_groups = PI_KERNEL_COMPILE_NUM_SUB_GROUPS, kernel_device_specific::compile_sub_group_size = PI_KERNEL_COMPILE_SUB_GROUP_SIZE_INTEL
}
 
enum  event : pi_uint32 { event::reference_count = PI_EVENT_INFO_REFERENCE_COUNT, event::command_execution_status = PI_EVENT_INFO_COMMAND_EXECUTION_STATUS }
 
enum  event_command_status : pi_int32 { event_command_status::submitted = PI_EVENT_SUBMITTED, event_command_status::running = PI_EVENT_RUNNING, event_command_status::complete = PI_EVENT_COMPLETE, event_command_status::ext_oneapi_unknown = -1 }
 
enum  event_profiling : pi_uint32 { event_profiling::command_submit = PI_PROFILING_INFO_COMMAND_SUBMIT, event_profiling::command_start = PI_PROFILING_INFO_COMMAND_START, event_profiling::command_end = PI_PROFILING_INFO_COMMAND_END }
 

Enumeration Type Documentation

◆ context

Enumerator
reference_count 
platform 
devices 
atomic_memory_order_capabilities 
atomic_memory_scope_capabilities 

Definition at line 42 of file info_desc.hpp.

◆ device

Enumerator
device_type 
vendor_id 
max_compute_units 
max_work_item_dimensions 
max_work_item_sizes 
max_work_group_size 
preferred_vector_width_char 
preferred_vector_width_short 
preferred_vector_width_int 
preferred_vector_width_long 
preferred_vector_width_float 
preferred_vector_width_double 
preferred_vector_width_half 
native_vector_width_char 
native_vector_width_short 
native_vector_width_int 
native_vector_width_long 
native_vector_width_float 
native_vector_width_double 
native_vector_width_half 
max_clock_frequency 
address_bits 
max_mem_alloc_size 
image_support 
max_read_image_args 
max_write_image_args 
image2d_max_width 
image2d_max_height 
image3d_max_width 
image3d_max_height 
image3d_max_depth 
image_max_buffer_size 
image_max_array_size 
max_samplers 
max_parameter_size 
mem_base_addr_align 
half_fp_config 
single_fp_config 
double_fp_config 
global_mem_cache_type 
global_mem_cache_line_size 
global_mem_cache_size 
global_mem_size 
__SYCL2020_DEPRECATED 
__SYCL2020_DEPRECATED 
local_mem_type 
local_mem_size 
error_correction_support 
host_unified_memory 
profiling_timer_resolution 
is_endian_little 
is_available 
is_compiler_available 
is_linker_available 
execution_capabilities 
queue_profiling 
__SYCL2020_DEPRECATED 
platform 
name 
vendor 
driver_version 
profile 
version 
opencl_c_version 
__SYCL2020_DEPRECATED 
printf_buffer_size 
preferred_interop_user_sync 
parent_device 
partition_max_sub_devices 
partition_properties 
partition_affinity_domains 
partition_type_affinity_domain 
reference_count 
il_version 
max_num_sub_groups 
sub_group_independent_forward_progress 
sub_group_sizes 
partition_type_property 
kernel_kernel_pipe_support 
built_in_kernel_ids 
backend_version 
usm_device_allocations 
usm_host_allocations 
usm_shared_allocations 
usm_restricted_shared_allocations 
usm_system_allocations 
__SYCL2020_DEPRECATED 
ext_intel_pci_address 
ext_intel_gpu_eu_count 
ext_intel_gpu_eu_simd_width 
ext_intel_gpu_slices 
ext_intel_gpu_subslices_per_slice 
ext_intel_gpu_eu_count_per_subslice 
ext_intel_gpu_hw_threads_per_eu 
ext_intel_max_mem_bandwidth 
ext_intel_mem_channel 
ext_oneapi_srgb 
ext_intel_device_info_uuid 
atomic64 
atomic_memory_order_capabilities 
ext_oneapi_max_global_work_groups 
ext_oneapi_max_work_groups_1d 
ext_oneapi_max_work_groups_2d 
ext_oneapi_max_work_groups_3d 
atomic_memory_scope_capabilities 
ext_oneapi_bfloat16 

Definition at line 53 of file info_desc.hpp.

◆ device_type

Enumerator
cpu 
gpu 
accelerator 
custom 
automatic 
host 
all 

Definition at line 180 of file info_desc.hpp.

◆ event

Enumerator
reference_count 
command_execution_status 

Definition at line 289 of file info_desc.hpp.

◆ event_command_status

Enumerator
submitted 
running 
complete 
ext_oneapi_unknown 

Definition at line 294 of file info_desc.hpp.

◆ event_profiling

Enumerator
command_submit 
command_start 
command_end 

Definition at line 303 of file info_desc.hpp.

◆ execution_capability

enum cl::sycl::info::execution_capability : unsigned int
strong
Enumerator
exec_kernel 
exec_native_kernel 

Definition at line 223 of file info_desc.hpp.

◆ fp_config

Enumerator
denorm 
inf_nan 
round_to_nearest 
round_to_zero 
round_to_inf 
fma 
correctly_rounded_divide_sqrt 
soft_float 

Definition at line 210 of file info_desc.hpp.

◆ global_mem_cache_type

Enumerator
none 
read_only 
read_write 

Definition at line 221 of file info_desc.hpp.

◆ kernel

Enumerator
function_name 
num_args 
context 
reference_count 
attributes 

Definition at line 236 of file info_desc.hpp.

◆ kernel_device_specific

Enumerator
global_work_size 
work_group_size 
compile_work_group_size 
preferred_work_group_size_multiple 
private_mem_size 
ext_codeplay_num_regs 
max_sub_group_size 
max_num_sub_groups 
compile_num_sub_groups 
compile_sub_group_size 

Definition at line 265 of file info_desc.hpp.

◆ kernel_sub_group

Enumerator
max_sub_group_size 
max_num_sub_groups 
compile_num_sub_groups 
compile_sub_group_size 

Definition at line 258 of file info_desc.hpp.

◆ local_mem_type

enum cl::sycl::info::local_mem_type : int
strong
Enumerator
none 
local 
global 

Definition at line 208 of file info_desc.hpp.

◆ partition_affinity_domain

Enumerator
not_applicable 
numa 
L4_cache 
L3_cache 
L2_cache 
L1_cache 
next_partitionable 

Definition at line 198 of file info_desc.hpp.

◆ partition_property

Enumerator
no_partition 
partition_equally 
partition_by_counts 
partition_by_affinity_domain 

Definition at line 191 of file info_desc.hpp.

◆ platform

Enumerator
profile 
version 
name 
vendor 
__SYCL2020_DEPRECATED 

Definition at line 31 of file info_desc.hpp.

◆ queue

Enumerator
context 
device 
reference_count 

Definition at line 229 of file info_desc.hpp.