set_device_context: Set Context for Specific Device Type

Description Usage Arguments Value

View source: R/test_utils.R

Description

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

Usage

1

Arguments

type

A character vector specifying device type

Value

An integer indicating previous context index


gpuR documentation built on May 30, 2019, 1:02 a.m.