rpuGetDevice {rpud}R Documentation

ID of the GPU device in use by the active host thread

Description

Query the ID of the GPU device on which the active host thread executes the device code.

Usage

rpuGetDevice()

Value

Returns the ID of the GPU device on which the active host thread executes the device code.

Examples

rpuGetDevice()

[Package rpud version 0.7.1 Index]