Learn R Programming

gpuR (version 2.0.3)

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)

Arguments

type

A character vector specifying device type

Value

An integer indicating previous context index