Structs§
- Device
- An OpenCL device id and methods to query it.
- SubDevice
- cl_
amd_ device_ topology - cl_
device_ integer_ dot_ product_ acceleration_ properties_ khr - cl_
device_ pci_ bus_ info_ khr - cl_
name_ version
Constants§
- ALTERA_
DEVICE_ VENDOR_ ID - AMD_
DEVICE_ VENDOR_ ID - Device Vendor Ids.
- AMD_
ON_ APPLE_ DEVICE_ VENDOR_ ID - APPLE_
DEVICE_ VENDOR_ ID - ARM_
DEVICE_ VENDOR_ ID - BROADCOM_
DEVICE_ VENDOR_ ID - CL_
DEVICE_ ADDRESS_ BITS - CL_
DEVICE_ AFFINITY_ DOMAIN_ L1_ CACHE - CL_
DEVICE_ AFFINITY_ DOMAIN_ L2_ CACHE - CL_
DEVICE_ AFFINITY_ DOMAIN_ L3_ CACHE - CL_
DEVICE_ AFFINITY_ DOMAIN_ L4_ CACHE - CL_
DEVICE_ AFFINITY_ DOMAIN_ NEXT_ PARTITIONABLE - CL_
DEVICE_ AFFINITY_ DOMAIN_ NUMA - CL_
DEVICE_ ATOMIC_ FENCE_ CAPABILITIES - CL_
DEVICE_ ATOMIC_ MEMORY_ CAPABILITIES - CL_
DEVICE_ ATOMIC_ ORDER_ ACQ_ REL - CL_
DEVICE_ ATOMIC_ ORDER_ RELAXED - CL_
DEVICE_ ATOMIC_ ORDER_ SEQ_ CST - CL_
DEVICE_ ATOMIC_ SCOPE_ ALL_ DEVICES - CL_
DEVICE_ ATOMIC_ SCOPE_ DEVICE - CL_
DEVICE_ ATOMIC_ SCOPE_ WORK_ GROUP - CL_
DEVICE_ ATOMIC_ SCOPE_ WORK_ ITEM - CL_
DEVICE_ AVAILABLE - CL_
DEVICE_ AVAILABLE_ ASYNC_ QUEUES_ AMD - CL_
DEVICE_ BOARD_ NAME_ AMD - CL_
DEVICE_ BUILT_ IN_ KERNELS - CL_
DEVICE_ BUILT_ IN_ KERNELS_ WITH_ VERSION - CL_
DEVICE_ COMMAND_ BUFFER_ CAPABILITIES_ KHR - CL_
DEVICE_ COMMAND_ BUFFER_ REQUIRED_ QUEUE_ PROPERTIES_ KHR - CL_
DEVICE_ COMPILER_ AVAILABLE - CL_
DEVICE_ COMPUTE_ CAPABILITY_ MAJOR_ NV - CL_
DEVICE_ COMPUTE_ CAPABILITY_ MINOR_ NV - CL_
DEVICE_ DEVICE_ ENQUEUE_ CAPABILITIES - CL_
DEVICE_ DOUBLE_ FP_ CONFIG - CL_
DEVICE_ ENDIAN_ LITTLE - CL_
DEVICE_ ERROR_ CORRECTION_ SUPPORT - CL_
DEVICE_ EXECUTION_ CAPABILITIES - CL_
DEVICE_ EXTENSIONS - CL_
DEVICE_ EXTENSIONS_ WITH_ VERSION - CL_
DEVICE_ EXTERNAL_ MEMORY_ IMPORT_ HANDLE_ TYPES_ KHR - CL_
DEVICE_ FEATURE_ CAPABILITIES_ INTEL - CL_
DEVICE_ GENERIC_ ADDRESS_ SPACE_ SUPPORT - CL_
DEVICE_ GFXIP_ MAJOR_ AMD - CL_
DEVICE_ GFXIP_ MINOR_ AMD - CL_
DEVICE_ GLOBAL_ FREE_ MEMORY_ AMD - CL_
DEVICE_ GLOBAL_ MEM_ CACHELINE_ SIZE - CL_
DEVICE_ GLOBAL_ MEM_ CACHE_ SIZE - CL_
DEVICE_ GLOBAL_ MEM_ CACHE_ TYPE - CL_
DEVICE_ GLOBAL_ MEM_ CHANNELS_ AMD - CL_
DEVICE_ GLOBAL_ MEM_ CHANNEL_ BANKS_ AMD - CL_
DEVICE_ GLOBAL_ MEM_ CHANNEL_ BANK_ WIDTH_ AMD - CL_
DEVICE_ GLOBAL_ MEM_ SIZE - CL_
DEVICE_ GLOBAL_ VARIABLE_ PREFERRED_ TOTAL_ SIZE - CL_
DEVICE_ GPU_ OVERLAP_ NV - CL_
DEVICE_ HALF_ FP_ CONFIG - CL_
DEVICE_ HOST_ UNIFIED_ MEMORY - CL_
DEVICE_ ID_ INTEL - CL_
DEVICE_ ILS_ WITH_ VERSION - CL_
DEVICE_ IL_ VERSION - CL_
DEVICE_ IMAG E2D_ MAX_ HEIGHT - CL_
DEVICE_ IMAG E2D_ MAX_ WIDTH - CL_
DEVICE_ IMAG E3D_ MAX_ DEPTH - CL_
DEVICE_ IMAG E3D_ MAX_ HEIGHT - CL_
DEVICE_ IMAG E3D_ MAX_ WIDTH - CL_
DEVICE_ IMAGE_ BASE_ ADDRESS_ ALIGNMENT - CL_
DEVICE_ IMAGE_ MAX_ ARRAY_ SIZE - CL_
DEVICE_ IMAGE_ MAX_ BUFFER_ SIZE - CL_
DEVICE_ IMAGE_ PITCH_ ALIGNMENT - CL_
DEVICE_ IMAGE_ SUPPORT - CL_
DEVICE_ INTEGER_ DOT_ PRODUCT_ ACCELERATION_ PROPERTIES_ 4x8BIT_ PACKED_ KHR - CL_
DEVICE_ INTEGER_ DOT_ PRODUCT_ ACCELERATION_ PROPERTIES_ 8BIT_ KHR - CL_
DEVICE_ INTEGER_ DOT_ PRODUCT_ CAPABILITIES_ KHR - CL_
DEVICE_ INTEGRATED_ MEMORY_ NV - CL_
DEVICE_ IP_ VERSION_ INTEL - CL_
DEVICE_ KERNEL_ CLOCK_ CAPABILITIES_ KHR - CL_
DEVICE_ KERNEL_ EXEC_ TIMEOUT_ NV - CL_
DEVICE_ LATEST_ CONFORMANCE_ VERSION_ PASSED - CL_
DEVICE_ LINKER_ AVAILABLE - CL_
DEVICE_ LOCAL_ MEM_ BANKS_ AMD - CL_
DEVICE_ LOCAL_ MEM_ SIZE - CL_
DEVICE_ LOCAL_ MEM_ SIZE_ PER_ COMPUTE_ UNIT_ AMD - CL_
DEVICE_ LOCAL_ MEM_ TYPE - CL_
DEVICE_ LUID_ KHR - CL_
DEVICE_ LUID_ VALID_ KHR - CL_
DEVICE_ MAX_ CLOCK_ FREQUENCY - CL_
DEVICE_ MAX_ COMPUTE_ UNITS - CL_
DEVICE_ MAX_ CONSTANT_ ARGS - CL_
DEVICE_ MAX_ CONSTANT_ BUFFER_ SIZE - CL_
DEVICE_ MAX_ GLOBAL_ VARIABLE_ SIZE - CL_
DEVICE_ MAX_ MEM_ ALLOC_ SIZE - CL_
DEVICE_ MAX_ NUM_ SUB_ GROUPS - CL_
DEVICE_ MAX_ ON_ DEVICE_ EVENTS - CL_
DEVICE_ MAX_ ON_ DEVICE_ QUEUES - CL_
DEVICE_ MAX_ PARAMETER_ SIZE - CL_
DEVICE_ MAX_ PIPE_ ARGS - CL_
DEVICE_ MAX_ READ_ IMAGE_ ARGS - CL_
DEVICE_ MAX_ READ_ WRITE_ IMAGE_ ARGS - CL_
DEVICE_ MAX_ SAMPLERS - CL_
DEVICE_ MAX_ WORK_ GROUP_ SIZE - CL_
DEVICE_ MAX_ WORK_ GROUP_ SIZE_ AMD - CL_
DEVICE_ MAX_ WORK_ ITEM_ DIMENSIONS - CL_
DEVICE_ MAX_ WORK_ ITEM_ SIZES - CL_
DEVICE_ MAX_ WRITE_ IMAGE_ ARGS - CL_
DEVICE_ MEMORY_ CAPABILITIES_ IMG - CL_
DEVICE_ MEM_ BASE_ ADDR_ ALIGN - CL_
DEVICE_ MIN_ DATA_ TYPE_ ALIGN_ SIZE - CL_
DEVICE_ NAME - CL_
DEVICE_ NATIVE_ VECTOR_ WIDTH_ CHAR - CL_
DEVICE_ NATIVE_ VECTOR_ WIDTH_ DOUBLE - CL_
DEVICE_ NATIVE_ VECTOR_ WIDTH_ FLOAT - CL_
DEVICE_ NATIVE_ VECTOR_ WIDTH_ HALF - CL_
DEVICE_ NATIVE_ VECTOR_ WIDTH_ INT - CL_
DEVICE_ NATIVE_ VECTOR_ WIDTH_ LONG - CL_
DEVICE_ NATIVE_ VECTOR_ WIDTH_ SHORT - CL_
DEVICE_ NODE_ MASK_ KHR - CL_
DEVICE_ NON_ UNIFORM_ WORK_ GROUP_ SUPPORT - CL_
DEVICE_ NOT_ FOUND - CL_
DEVICE_ NUMERIC_ VERSION - CL_
DEVICE_ NUM_ EUS_ PER_ SUB_ SLICE_ INTEL - CL_
DEVICE_ NUM_ SLICES_ INTEL - CL_
DEVICE_ NUM_ SUB_ SLICES_ PER_ SLICE_ INTEL - CL_
DEVICE_ NUM_ THREADS_ PER_ EU_ INTEL - CL_
DEVICE_ OPENCL_ C_ ALL_ VERSIONS - CL_
DEVICE_ OPENCL_ C_ FEATURES - CL_
DEVICE_ OPENCL_ C_ VERSION - CL_
DEVICE_ PARENT_ DEVICE - CL_
DEVICE_ PARTITION_ AFFINITY_ DOMAIN - CL_
DEVICE_ PARTITION_ BY_ AFFINITY_ DOMAIN - CL_
DEVICE_ PARTITION_ BY_ COUNTS - CL_
DEVICE_ PARTITION_ BY_ COUNTS_ LIST_ END - CL_
DEVICE_ PARTITION_ EQUALLY - CL_
DEVICE_ PARTITION_ MAX_ SUB_ DEVICES - CL_
DEVICE_ PARTITION_ PROPERTIES - CL_
DEVICE_ PARTITION_ TYPE - CL_
DEVICE_ PCIE_ ID_ AMD - CL_
DEVICE_ PCI_ BUS_ ID_ NV - CL_
DEVICE_ PCI_ BUS_ INFO_ KHR - CL_
DEVICE_ PCI_ SLOT_ ID_ NV - CL_
DEVICE_ PIPE_ MAX_ ACTIVE_ RESERVATIONS - CL_
DEVICE_ PIPE_ MAX_ PACKET_ SIZE - CL_
DEVICE_ PIPE_ SUPPORT - CL_
DEVICE_ PLATFORM - CL_
DEVICE_ PREFERRED_ CONSTANT_ BUFFER_ SIZE_ AMD - CL_
DEVICE_ PREFERRED_ GLOBAL_ ATOMIC_ ALIGNMENT - CL_
DEVICE_ PREFERRED_ INTEROP_ USER_ SYNC - CL_
DEVICE_ PREFERRED_ LOCAL_ ATOMIC_ ALIGNMENT - CL_
DEVICE_ PREFERRED_ PLATFORM_ ATOMIC_ ALIGNMENT - CL_
DEVICE_ PREFERRED_ VECTOR_ WIDTH_ CHAR - CL_
DEVICE_ PREFERRED_ VECTOR_ WIDTH_ DOUBLE - CL_
DEVICE_ PREFERRED_ VECTOR_ WIDTH_ FLOAT - CL_
DEVICE_ PREFERRED_ VECTOR_ WIDTH_ HALF - CL_
DEVICE_ PREFERRED_ VECTOR_ WIDTH_ INT - CL_
DEVICE_ PREFERRED_ VECTOR_ WIDTH_ LONG - CL_
DEVICE_ PREFERRED_ VECTOR_ WIDTH_ SHORT - CL_
DEVICE_ PREFERRED_ WORK_ GROUP_ SIZE_ AMD - CL_
DEVICE_ PREFERRED_ WORK_ GROUP_ SIZE_ MULTIPLE - CL_
DEVICE_ PRINTF_ BUFFER_ SIZE - CL_
DEVICE_ PROFILE - CL_
DEVICE_ PROFILING_ TIMER_ OFFSET_ AMD - CL_
DEVICE_ PROFILING_ TIMER_ RESOLUTION - CL_
DEVICE_ QUEUE_ ON_ DEVICE_ MAX_ SIZE - CL_
DEVICE_ QUEUE_ ON_ DEVICE_ PREFERRED_ SIZE - CL_
DEVICE_ QUEUE_ ON_ DEVICE_ PROPERTIES - CL_
DEVICE_ QUEUE_ ON_ HOST_ PROPERTIES - CL_
DEVICE_ QUEUE_ REPLACEABLE_ DEFAULT - CL_
DEVICE_ QUEUE_ SUPPORTED - CL_
DEVICE_ REFERENCE_ COUNT - CL_
DEVICE_ REGISTERS_ PER_ BLOCK_ NV - CL_
DEVICE_ SEMAPHORE_ EXPORT_ HANDLE_ TYPES_ KHR - CL_
DEVICE_ SEMAPHORE_ IMPORT_ HANDLE_ TYPES_ KHR - CL_
DEVICE_ SEMAPHORE_ TYPES_ KHR - CL_
DEVICE_ SIMD_ INSTRUCTION_ WIDTH_ AMD - CL_
DEVICE_ SIMD_ PER_ COMPUTE_ UNIT_ AMD - CL_
DEVICE_ SIMD_ WIDTH_ AMD - CL_
DEVICE_ SINGLE_ FP_ CONFIG - CL_
DEVICE_ SUB_ GROUP_ INDEPENDENT_ FORWARD_ PROGRESS - CL_
DEVICE_ SVM_ ATOMICS - CL_
DEVICE_ SVM_ CAPABILITIES - CL_
DEVICE_ SVM_ COARSE_ GRAIN_ BUFFER - CL_
DEVICE_ SVM_ FINE_ GRAIN_ BUFFER - CL_
DEVICE_ SVM_ FINE_ GRAIN_ SYSTEM - CL_
DEVICE_ THREAD_ TRACE_ SUPPORTED_ AMD - CL_
DEVICE_ TOPOLOGY_ AMD - CL_
DEVICE_ TYPE - CL_
DEVICE_ TYPE_ ACCELERATOR - CL_
DEVICE_ TYPE_ ALL - CL_
DEVICE_ TYPE_ CPU - CL_
DEVICE_ TYPE_ CUSTOM - CL_
DEVICE_ TYPE_ DEFAULT - CL_
DEVICE_ TYPE_ GPU - CL_
DEVICE_ UUID_ KHR - CL_
DEVICE_ VENDOR - CL_
DEVICE_ VENDOR_ ID - CL_
DEVICE_ VERSION - CL_
DEVICE_ WARP_ SIZE_ NV - CL_
DEVICE_ WAVEFRONT_ WIDTH_ AMD - CL_
DEVICE_ WORK_ GROUP_ COLLECTIVE_ FUNCTIONS_ SUPPORT - CL_
DRIVER_ UUID_ KHR - CL_
DRIVER_ VERSION - CL_
EXEC_ KERNEL - CL_
EXEC_ NATIVE_ KERNEL - CL_
FALSE - CL_
FP_ CORRECTLY_ ROUNDED_ DIVIDE_ SQRT - CL_
FP_ DENORM - CL_
FP_ FMA - CL_
FP_ INF_ NAN - CL_
FP_ ROUND_ TO_ INF - CL_
FP_ ROUND_ TO_ NEAREST - CL_
FP_ ROUND_ TO_ ZERO - CL_
FP_ SOFT_ FLOAT - CL_
GLOBAL - CL_
LOCAL - CL_
LUID_ SIZE_ KHR - CL_NONE
- CL_
READ_ ONLY_ CACHE - CL_
READ_ WRITE_ CACHE - CL_
SUCCESS - CL_TRUE
- CL_
UUID_ SIZE_ KHR - CL_
VERSION_ MAJOR_ BITS - CL_
VERSION_ MAJOR_ MASK - CL_
VERSION_ MINOR_ BITS - CL_
VERSION_ MINOR_ MASK - CL_
VERSION_ PATCH_ BITS - CL_
VERSION_ PATCH_ MASK - IBM_
DEVICE_ VENDOR_ ID - INTEL_
DEVICE_ VENDOR_ ID - NVIDIA_
DEVICE_ VENDOR_ ID - QUALCOMM_
DEVICE_ VENDOR_ ID - TEXAS_
INSTRUMENTS_ DEVICE_ VENDOR_ ID - VIA_
TECHNOLOGIES_ DEVICE_ VENDOR_ ID - XILINX_
DEVICE_ VENDOR_ ID
Functions§
- create_
sub_ devices - Create sub-devices by partitioning an
OpenCLdevice. CallsclCreateSubDevicesto get the partitioned sub-devices. - device_
type_ text - A text representation of an
OpenCLdevice type, see: Device Types. - get_
all_ devices - Get the ids of all available devices of the given type.
- get_
amd_ device_ topology - Convert a u8 slice (e.g. from
get_device_info) into acl_amd_device_topology structure. - get_
device_ and_ host_ timer - Query device and host timestamps.
Calls
clGetDeviceAndHostTimerCL_VERSION_2_1 - get_
device_ data - Get data about an
OpenCLdevice. Calls clGetDeviceInfo to get the desired data about the device. - get_
device_ ids - Get the list of available devices of the given type on a platform. Calls clGetDeviceIDs to get the available device ids on the platform.
- get_
device_ info - Get specific information about an
OpenCLdevice. Calls clGetDeviceInfo to get the desired information about the device. - get_
device_ integer_ dot_ product_ acceleration_ properties_ khr - Convert a u8 slice (e.g. from
get_device_info) into acl_device_integer_dot_product_acceleration_properties_khr structure. - get_
device_ pci_ bus_ info_ khr - Convert a u8 slice (e.g. from
get_device_info) into acl_device_pci_bus_info_khr structure. - get_
host_ timer - The current value of the host clock as seen by device.
Calls
clGetHostTimerCL_VERSION_2_1 - release_
device ⚠ - Release an
OpenCLdevice. CallsclReleaseDeviceto decrement the device reference count if device is a valid sub-device created by a call to clCreateSubDevices. - retain_
device ⚠ - Retain an
OpenCLdevice. CallsclRetainDeviceto increment the device reference count if device is a valid sub-device created by a call to clCreateSubDevices. - set_
default_ device_ command_ queue - Replace the default command queue on an
OpenCLdevice. CallsclSetDefaultDeviceCommandQueueto replace the default command queueCL_VERSION_2_1 - vendor_
id_ text - A text representation of an
OpenCLvendor id.