set_device_context {gpuR}R Documentation

Set Context for Specific Device Type

Description

This function find the first context that contains a device of the specified type.

Usage

set_device_context(type)

Arguments

type

A character vector specifying device type

Value

An integer indicating previous context index


[Package gpuR version 2.0.6 Index]