Learn R Programming

gpuR (version 2.0.6)

deviceType: Check device type

Description

Check what type a device is given platform and device indices

Usage

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

Value

A character string indicating the device type

Arguments

device_idx

An integer value indicating which device to query.

context_idx

An integer value indicating which context to query.