Learn R Programming

gpuR (version 2.0.6)

set_device_context: 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)

Value

An integer indicating previous context index

Arguments

type

A character vector specifying device type