Get basic information about selected device (e.g. GPU)
gpuInfo(device_idx = NULL, context_idx = currentContext())cpuInfo(device_idx = NULL, context_idx = currentContext())
Device Name
Device Vendor
Number of Computing Units (which execute the work groups)
Maximum number of work items per group
Number of dimensions
Maximum number of works items per dimension
Global amount of memory (bytes)
Maximum configured clock frequency of the device in MHz
Maximum amount of local memory for each work group (bytes)
Maximum amount of memory in a single piece (bytes)
Whether the device is available
OpenCL device extensions available
Logical value if double type supported
An integer value indicating which device to query.
An integer value indicating which context to query.
Charles Determan Jr.
detectPlatforms detectGPUs detectCPUs cpuInfo