Learn R Programming

gpuR (version 2.0.6)

gpuInfo: Device Information

Description

Get basic information about selected device (e.g. GPU)

Usage

gpuInfo(device_idx = NULL, context_idx = currentContext())

cpuInfo(device_idx = NULL, context_idx = currentContext())

Value

deviceName

Device Name

deviceVendor

Device Vendor

numberOfCores

Number of Computing Units (which execute the work groups)

maxWorkGroupSize

Maximum number of work items per group

maxWorkItemDim

Number of dimensions

maxWorkItemSizes

Maximum number of works items per dimension

deviceMemory

Global amount of memory (bytes)

clockFreq

Maximum configured clock frequency of the device in MHz

localMem

Maximum amount of local memory for each work group (bytes)

maxAllocatableMem

Maximum amount of memory in a single piece (bytes)

available

Whether the device is available

deviceExtensions

OpenCL device extensions available

double_support

Logical value if double type supported

Arguments

device_idx

An integer value indicating which device to query.

context_idx

An integer value indicating which context to query.

Author

Charles Determan Jr.

See Also

detectPlatforms detectGPUs detectCPUs cpuInfo