cl::sycl::info Namespace Reference
Classes | |
| struct | param_traits |
| provides the class templates whose specializations will contain the return_type field containing the type of the value returned by the specializations of get_info(). More... | |
Typedefs | |
| using | gl_context_interop = bool |
| Type of the value returned by calling context::get_info<info::context::gl_interop> More... | |
| using | device_queue_properties = cl_bitfield |
| Queue properties for a device constructor in the form of a bitfield. More... | |
| using | cl_usm_mem_properties = cl_bitfield |
| Properties for describing Unified Shared Memory allocations. More... | |
Typedef Documentation
◆ cl_usm_mem_properties
| using cl::sycl::info::cl_usm_mem_properties = typedef cl_bitfield |
Properties for describing Unified Shared Memory allocations.
Definition at line 108 of file device_info.h.
◆ device_queue_properties
| using cl::sycl::info::device_queue_properties = typedef cl_bitfield |
Queue properties for a device constructor in the form of a bitfield.
Describes the command-queue properties supported by the device.
This is a bitfield instead of an unsigned int (as per the specification) because it follows OpenCL, which uses a bitfield.
Definition at line 103 of file device_info.h.
◆ gl_context_interop
| using cl::sycl::info::gl_context_interop = typedef bool |
Type of the value returned by calling context::get_info<info::context::gl_interop>
- Deprecated:
- OpenGL interop no longer supported in SYCL 1.2.1
Enumeration Type Documentation
◆ context
|
strong |
Enum representing values that can be queried using context::get_info.
| Enumerator | |
|---|---|
| reference_count | |
| platform | |
| devices | |
| atomic_memory_order_capabilities | |
| atomic_fence_order_capabilities | |
| atomic_memory_scope_capabilities | |
| atomic_fence_scope_capabilities | |
◆ device
|
strong |
Enum representing values that can be queried using device::get_info.
Definition at line 113 of file device_info.h.
◆ device_type
|
strong |
Enum representing possible values returned from a device::get_info<info::device::device_type>() query.
The SYCL device type.
| Enumerator | |
|---|---|
| cpu | |
| gpu | |
| accelerator | |
| custom | |
| automatic | |
| host | |
| all | |
Definition at line 212 of file device_info.h.
◆ event
|
strong |
◆ event_command_status
|
strong |
◆ event_profiling
|
strong |
◆ execution_capability
|
strong |
Enum representing possible values returned from a device::get_info<info::device::execution_capabilities>() query.
Describes the execution capabilities of the device.
| Enumerator | |
|---|---|
| exec_kernel | |
| exec_native_kernel | |
Definition at line 299 of file device_info.h.
◆ fp_config
|
strong |
Enum representing possible values returned from different fp_config queries using the device::get_info call.
Describes single precision floating-point capabilities of the device.
Returned when using these queries:
- half_fp_config
- single_fp_config
- double_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 274 of file device_info.h.
◆ global_mem_cache_type
|
strong |
Enum representing possible values returned from a device::get_info<info::device::global_mem_cache_type>() query.
Type of global memory cache supported.
| Enumerator | |
|---|---|
| none | |
| read_only | |
| read_write | |
Definition at line 291 of file device_info.h.
◆ kernel
|
strong |
Kernel descriptor to query information about a kernel object.
Friend class declaration of kernel as the program class requires access to the kernel classes protected constructor.
◆ kernel_sub_group
|
strong |
Kernel descriptors to query information about kernel sub-groups.
◆ kernel_work_group
|
strong |
◆ local_mem_type
|
strong |
Enum representing possible values returned from a device::get_info<info::device::local_mem_type>() query.
Type of local memory supported.
| Enumerator | |
|---|---|
| none | |
| local | |
| global | |
Definition at line 258 of file device_info.h.
◆ partition_affinity_domain
|
strong |
Enum representing possible values returned from a device::get_info<info::device::partition_affinity_domain>() query.
Supported affinity domains for partitioning the device using info::device_affinity domain.
| Enumerator | |
|---|---|
| not_applicable | |
| numa | |
| L4_cache | |
| L3_cache | |
| L2_cache | |
| L1_cache | |
| next_partitionable | |
Definition at line 242 of file device_info.h.
◆ partition_property
|
strong |
Enum representing possible values returned from a device::get_info<info::device::partition_properties>() query.
Partition types supported by device.
| Enumerator | |
|---|---|
| no_partition | |
| partition_equally | |
| partition_by_counts | |
| partition_by_affinity_domain | |
Definition at line 228 of file device_info.h.
◆ platform
|
strong |
Platform descriptor to query information about a platform object.
Definition at line 43 of file platform.h.
◆ program
|
strong |