DPC++ Runtime
Runtime libraries for oneAPI Data Parallel C++
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 : cl_context_info { context::reference_count = CL_CONTEXT_REFERENCE_COUNT, context::platform = CL_CONTEXT_PLATFORM, context::devices = CL_CONTEXT_DEVICES, context::atomic_memory_order_capabilities }
 
enum  device : cl_device_info {
  device::device_type = CL_DEVICE_TYPE, device::vendor_id = CL_DEVICE_VENDOR_ID, device::max_compute_units = CL_DEVICE_MAX_COMPUTE_UNITS, device::max_work_item_dimensions = CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS,
  device::max_work_item_sizes = CL_DEVICE_MAX_WORK_ITEM_SIZES, device::max_work_group_size = CL_DEVICE_MAX_WORK_GROUP_SIZE, device::preferred_vector_width_char = CL_DEVICE_PREFERRED_VECTOR_WIDTH_CHAR, device::preferred_vector_width_short = CL_DEVICE_PREFERRED_VECTOR_WIDTH_SHORT,
  device::preferred_vector_width_int = CL_DEVICE_PREFERRED_VECTOR_WIDTH_INT, device::preferred_vector_width_long = CL_DEVICE_PREFERRED_VECTOR_WIDTH_LONG, device::preferred_vector_width_float = CL_DEVICE_PREFERRED_VECTOR_WIDTH_FLOAT, device::preferred_vector_width_double = CL_DEVICE_PREFERRED_VECTOR_WIDTH_DOUBLE,
  device::preferred_vector_width_half = CL_DEVICE_PREFERRED_VECTOR_WIDTH_HALF, device::native_vector_width_char = CL_DEVICE_NATIVE_VECTOR_WIDTH_CHAR, device::native_vector_width_short = CL_DEVICE_NATIVE_VECTOR_WIDTH_SHORT, device::native_vector_width_int = CL_DEVICE_NATIVE_VECTOR_WIDTH_INT,
  device::native_vector_width_long = CL_DEVICE_NATIVE_VECTOR_WIDTH_LONG, device::native_vector_width_float = CL_DEVICE_NATIVE_VECTOR_WIDTH_FLOAT, device::native_vector_width_double = CL_DEVICE_NATIVE_VECTOR_WIDTH_DOUBLE, device::native_vector_width_half = CL_DEVICE_NATIVE_VECTOR_WIDTH_HALF,
  device::max_clock_frequency = CL_DEVICE_MAX_CLOCK_FREQUENCY, device::address_bits = CL_DEVICE_ADDRESS_BITS, device::max_mem_alloc_size = CL_DEVICE_MAX_MEM_ALLOC_SIZE, device::image_support = CL_DEVICE_IMAGE_SUPPORT,
  device::max_read_image_args = CL_DEVICE_MAX_READ_IMAGE_ARGS, device::max_write_image_args = CL_DEVICE_MAX_WRITE_IMAGE_ARGS, device::image2d_max_width = CL_DEVICE_IMAGE2D_MAX_WIDTH, device::image2d_max_height = CL_DEVICE_IMAGE2D_MAX_HEIGHT,
  device::image3d_max_width = CL_DEVICE_IMAGE3D_MAX_WIDTH, device::image3d_max_height = CL_DEVICE_IMAGE3D_MAX_HEIGHT, device::image3d_max_depth = CL_DEVICE_IMAGE3D_MAX_DEPTH, device::image_max_buffer_size = CL_DEVICE_IMAGE_MAX_BUFFER_SIZE,
  device::image_max_array_size = CL_DEVICE_IMAGE_MAX_ARRAY_SIZE, device::max_samplers = CL_DEVICE_MAX_SAMPLERS, device::max_parameter_size = CL_DEVICE_MAX_PARAMETER_SIZE, device::mem_base_addr_align = CL_DEVICE_MEM_BASE_ADDR_ALIGN,
  device::half_fp_config = CL_DEVICE_HALF_FP_CONFIG, device::single_fp_config = CL_DEVICE_SINGLE_FP_CONFIG, device::double_fp_config = CL_DEVICE_DOUBLE_FP_CONFIG, device::global_mem_cache_type = CL_DEVICE_GLOBAL_MEM_CACHE_TYPE,
  device::global_mem_cache_line_size = CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE, device::global_mem_cache_size = CL_DEVICE_GLOBAL_MEM_CACHE_SIZE, device::global_mem_size = CL_DEVICE_GLOBAL_MEM_SIZE, device::__SYCL2020_DEPRECATED,
  device::__SYCL2020_DEPRECATED, device::local_mem_type = CL_DEVICE_LOCAL_MEM_TYPE, device::local_mem_size = CL_DEVICE_LOCAL_MEM_SIZE, device::error_correction_support = CL_DEVICE_ERROR_CORRECTION_SUPPORT,
  device::host_unified_memory = CL_DEVICE_HOST_UNIFIED_MEMORY, device::profiling_timer_resolution = CL_DEVICE_PROFILING_TIMER_RESOLUTION, device::is_endian_little = CL_DEVICE_ENDIAN_LITTLE, device::is_available = CL_DEVICE_AVAILABLE,
  device::is_compiler_available = CL_DEVICE_COMPILER_AVAILABLE, device::is_linker_available = CL_DEVICE_LINKER_AVAILABLE, device::execution_capabilities = CL_DEVICE_EXECUTION_CAPABILITIES, device::queue_profiling = CL_DEVICE_QUEUE_PROPERTIES,
  device::built_in_kernels = CL_DEVICE_BUILT_IN_KERNELS, device::platform = CL_DEVICE_PLATFORM, device::name = CL_DEVICE_NAME, device::vendor = CL_DEVICE_VENDOR,
  device::driver_version = CL_DRIVER_VERSION, device::profile = CL_DEVICE_PROFILE, device::version = CL_DEVICE_VERSION, device::opencl_c_version = CL_DEVICE_OPENCL_C_VERSION,
  device::__SYCL2020_DEPRECATED, device::printf_buffer_size = CL_DEVICE_PRINTF_BUFFER_SIZE, device::preferred_interop_user_sync = CL_DEVICE_PREFERRED_INTEROP_USER_SYNC, device::parent_device = CL_DEVICE_PARENT_DEVICE,
  device::partition_max_sub_devices = CL_DEVICE_PARTITION_MAX_SUB_DEVICES, device::partition_properties = CL_DEVICE_PARTITION_PROPERTIES, device::partition_affinity_domains = CL_DEVICE_PARTITION_AFFINITY_DOMAIN, device::partition_type_affinity_domain = CL_DEVICE_PARTITION_TYPE,
  device::reference_count = CL_DEVICE_REFERENCE_COUNT, device::il_version, device::max_num_sub_groups = CL_DEVICE_MAX_NUM_SUB_GROUPS, device::sub_group_independent_forward_progress,
  device::sub_group_sizes = CL_DEVICE_SUB_GROUP_SIZES_INTEL, device::partition_type_property, device::kernel_kernel_pipe_support, 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_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
}
 
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 = CL_DEVICE_TYPE_CUSTOM,
  device_type::automatic, device_type::host, device_type::all = CL_DEVICE_TYPE_ALL
}
 
enum  partition_property : cl_device_partition_property { partition_property::no_partition = 0, partition_property::partition_equally = CL_DEVICE_PARTITION_EQUALLY, partition_property::partition_by_counts = CL_DEVICE_PARTITION_BY_COUNTS, partition_property::partition_by_affinity_domain = CL_DEVICE_PARTITION_BY_AFFINITY_DOMAIN }
 
enum  partition_affinity_domain : cl_device_affinity_domain {
  partition_affinity_domain::not_applicable = 0, partition_affinity_domain::numa = CL_DEVICE_AFFINITY_DOMAIN_NUMA, partition_affinity_domain::L4_cache = CL_DEVICE_AFFINITY_DOMAIN_L4_CACHE, partition_affinity_domain::L3_cache = CL_DEVICE_AFFINITY_DOMAIN_L3_CACHE,
  partition_affinity_domain::L2_cache = CL_DEVICE_AFFINITY_DOMAIN_L2_CACHE, partition_affinity_domain::L1_cache = CL_DEVICE_AFFINITY_DOMAIN_L1_CACHE, partition_affinity_domain::next_partitionable = CL_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 : cl_device_fp_config {
  fp_config::denorm = CL_FP_DENORM, fp_config::inf_nan = CL_FP_INF_NAN, fp_config::round_to_nearest = CL_FP_ROUND_TO_NEAREST, fp_config::round_to_zero = CL_FP_ROUND_TO_ZERO,
  fp_config::round_to_inf = CL_FP_ROUND_TO_INF, fp_config::fma = CL_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 : cl_command_queue_info { queue::context = CL_QUEUE_CONTEXT, queue::device = CL_QUEUE_DEVICE, queue::reference_count = CL_QUEUE_REFERENCE_COUNT }
 
enum  kernel : cl_kernel_info {
  kernel::function_name = CL_KERNEL_FUNCTION_NAME, kernel::num_args = CL_KERNEL_NUM_ARGS, kernel::context = CL_KERNEL_CONTEXT, kernel::program = CL_KERNEL_PROGRAM,
  kernel::reference_count = CL_KERNEL_REFERENCE_COUNT, kernel::attributes = CL_KERNEL_ATTRIBUTES
}
 
enum  kernel_sub_group : cl_kernel_sub_group_info { kernel_sub_group::max_sub_group_size = CL_KERNEL_MAX_SUB_GROUP_SIZE_FOR_NDRANGE, kernel_sub_group::max_num_sub_groups = CL_KERNEL_MAX_NUM_SUB_GROUPS, kernel_sub_group::compile_num_sub_groups = CL_KERNEL_COMPILE_NUM_SUB_GROUPS, kernel_sub_group::compile_sub_group_size = CL_KERNEL_COMPILE_SUB_GROUP_SIZE_INTEL }
 
enum  kernel_device_specific : cl_kernel_work_group_info {
  kernel_device_specific::global_work_size = CL_KERNEL_GLOBAL_WORK_SIZE, kernel_device_specific::work_group_size = CL_KERNEL_WORK_GROUP_SIZE, kernel_device_specific::compile_work_group_size = CL_KERNEL_COMPILE_WORK_GROUP_SIZE, kernel_device_specific::preferred_work_group_size_multiple,
  kernel_device_specific::private_mem_size = CL_KERNEL_PRIVATE_MEM_SIZE, kernel_device_specific::max_sub_group_size = CL_KERNEL_MAX_SUB_GROUP_SIZE_FOR_NDRANGE, kernel_device_specific::max_num_sub_groups = CL_KERNEL_MAX_NUM_SUB_GROUPS, kernel_device_specific::compile_num_sub_groups = CL_KERNEL_COMPILE_NUM_SUB_GROUPS,
  kernel_device_specific::compile_sub_group_size = CL_KERNEL_COMPILE_SUB_GROUP_SIZE_INTEL
}
 
enum  program : cl_program_info { program::context = CL_PROGRAM_CONTEXT, program::devices = CL_PROGRAM_DEVICES, program::reference_count = CL_PROGRAM_REFERENCE_COUNT }
 
enum  event : cl_event_info { event::reference_count = CL_EVENT_REFERENCE_COUNT, event::command_execution_status = CL_EVENT_COMMAND_EXECUTION_STATUS }
 
enum  event_command_status : cl_int { event_command_status::submitted = CL_SUBMITTED, event_command_status::running = CL_RUNNING, event_command_status::complete = CL_COMPLETE }
 
enum  event_profiling : cl_profiling_info { event_profiling::command_submit = CL_PROFILING_COMMAND_SUBMIT, event_profiling::command_start = CL_PROFILING_COMMAND_START, event_profiling::command_end = CL_PROFILING_COMMAND_END }
 

Enumeration Type Documentation

◆ context

enum cl::sycl::info::context : cl_context_info
strong
Enumerator
reference_count 
platform 
devices 
atomic_memory_order_capabilities 

Definition at line 38 of file info_desc.hpp.

◆ device

enum cl::sycl::info::device : cl_device_info
strong
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 
built_in_kernels 
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 
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_max_mem_bandwidth 
ext_intel_mem_channel 
ext_oneapi_srgb 
ext_intel_device_info_uuid 
atomic64 
atomic_memory_order_capabilities 

Definition at line 47 of file info_desc.hpp.

◆ device_type

Enumerator
cpu 
gpu 
accelerator 
custom 
automatic 
host 
all 

Definition at line 163 of file info_desc.hpp.

◆ event

enum cl::sycl::info::event : cl_event_info
strong
Enumerator
reference_count 
command_execution_status 

Definition at line 267 of file info_desc.hpp.

◆ event_command_status

Enumerator
submitted 
running 
complete 

Definition at line 272 of file info_desc.hpp.

◆ event_profiling

enum cl::sycl::info::event_profiling : cl_profiling_info
strong
Enumerator
command_submit 
command_start 
command_end 

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

◆ fp_config

enum cl::sycl::info::fp_config : cl_device_fp_config
strong
Enumerator
denorm 
inf_nan 
round_to_nearest 
round_to_zero 
round_to_inf 
fma 
correctly_rounded_divide_sqrt 
soft_float 

Definition at line 193 of file info_desc.hpp.

◆ global_mem_cache_type

Enumerator
none 
read_only 
read_write 

Definition at line 204 of file info_desc.hpp.

◆ kernel

enum cl::sycl::info::kernel : cl_kernel_info
strong
Enumerator
function_name 
num_args 
context 
program 
reference_count 
attributes 

Definition at line 219 of file info_desc.hpp.

◆ kernel_device_specific

enum cl::sycl::info::kernel_device_specific : cl_kernel_work_group_info
strong
Enumerator
global_work_size 
work_group_size 
compile_work_group_size 
preferred_work_group_size_multiple 
private_mem_size 
max_sub_group_size 
max_num_sub_groups 
compile_num_sub_groups 
compile_sub_group_size 

Definition at line 246 of file info_desc.hpp.

◆ kernel_sub_group

enum cl::sycl::info::kernel_sub_group : cl_kernel_sub_group_info
strong
Enumerator
max_sub_group_size 
max_num_sub_groups 
compile_num_sub_groups 
compile_sub_group_size 

Definition at line 239 of file info_desc.hpp.

◆ local_mem_type

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

Definition at line 191 of file info_desc.hpp.

◆ partition_affinity_domain

enum cl::sycl::info::partition_affinity_domain : cl_device_affinity_domain
strong
Enumerator
not_applicable 
numa 
L4_cache 
L3_cache 
L2_cache 
L1_cache 
next_partitionable 

Definition at line 181 of file info_desc.hpp.

◆ partition_property

enum cl::sycl::info::partition_property : cl_device_partition_property
strong
Enumerator
no_partition 
partition_equally 
partition_by_counts 
partition_by_affinity_domain 

Definition at line 174 of file info_desc.hpp.

◆ platform

Enumerator
profile 
version 
name 
vendor 
__SYCL2020_DEPRECATED 

Definition at line 27 of file info_desc.hpp.

◆ program

enum cl::sycl::info::program : cl_program_info
strong
Enumerator
context 
devices 
reference_count 

Definition at line 260 of file info_desc.hpp.

◆ queue

enum cl::sycl::info::queue : cl_command_queue_info
strong
Enumerator
context 
device 
reference_count 

Definition at line 212 of file info_desc.hpp.