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


cdeterman/gpuR documentation built on July 13, 2019, 3:15 a.m.