Compute Library
 22.11
CLDeviceOptions Struct Reference

OpenCL device options. More...

#include <CLTypes.h>

Data Fields

std::string name {}
 Device name. More...
 
std::string device_version {}
 Device version string. More...
 
std::set< std::string > extensions {}
 List of supported extensions. More...
 
std::string ddk_version {}
 DDK version. More...
 
GPUTarget gpu_target {}
 GPU target architecture/instance. More...
 
CLVersion version {}
 Device OpenCL version. More...
 
size_t compute_units {}
 Number of compute units. More...
 
size_t cache_size {}
 Cache size. More...
 

Detailed Description

OpenCL device options.

Definition at line 50 of file CLTypes.h.

Field Documentation

◆ cache_size

size_t cache_size {}

Cache size.

Definition at line 59 of file CLTypes.h.

◆ compute_units

size_t compute_units {}

Number of compute units.

Definition at line 58 of file CLTypes.h.

Referenced by CLDevice::CLDevice(), and CLDevice::compute_units().

◆ ddk_version

std::string ddk_version {}

DDK version.

Definition at line 55 of file CLTypes.h.

◆ device_version

std::string device_version {}

Device version string.

Definition at line 53 of file CLTypes.h.

Referenced by CLDevice::CLDevice(), and CLDevice::device_version().

◆ extensions

std::set<std::string> extensions {}

List of supported extensions.

Definition at line 54 of file CLTypes.h.

Referenced by CLDevice::CLDevice(), and CLDevice::supported().

◆ gpu_target

GPUTarget gpu_target {}

GPU target architecture/instance.

Definition at line 56 of file CLTypes.h.

Referenced by CLDevice::CLDevice(), and CLDevice::target().

◆ name

std::string name {}

Device name.

Definition at line 52 of file CLTypes.h.

◆ version

CLVersion version {}

Device OpenCL version.

Definition at line 57 of file CLTypes.h.

Referenced by CLDevice::CLDevice(), and CLDevice::version().


The documentation for this struct was generated from the following file: