getDeviceProperties: Query the number and details of the GPU devices

Description Usage Arguments Value Author(s) References Examples

Description

These functions allow us to determine the number of GPU devices available on the current machine and also all of their charateristics or properties.

Usage

1
2
3

Arguments

num,dev

the identifier for the device. Generally, we identify a device by its number, starting at 1. Alternatively, we can use an object of class CUDeviceNum

Value

getNumDevices returns the number of available devices. getDeviceProperties returns an object of class cudaDeviceProp. This is an S4 class with numerous slots describing many aspects of the GPU.

Author(s)

Duncan Temple Lang

References

http://docs.nvidia.com/cuda/cuda-runtime-api/group__CUDART__DEVICE.html#group__CUDART__DEVICE_1g1bf9d625a931d657e08db2b4391170f0

Examples

1
2

duncantl/RCUDA documentation built on May 15, 2019, 5:26 p.m.