deviceType: Check device type

View source: R/wrappers-utils.R

deviceTypeR Documentation

Check device type

Description

Check what type a device is given platform and device indices

Usage

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

Arguments

device_idx

An integer value indicating which device to query.

context_idx

An integer value indicating which context to query.

Value

A character string indicating the device type


gpuR documentation built on May 29, 2024, 11:56 a.m.