GPUobject: GPUobject

Description Usage Arguments Details Value Note Author(s) See Also

View source: R/gpu_object_class.R

Description

classify the input as GPU vector/matrix and assign its dimension

Usage

1
GPUobject(input, nrow, ncol)

Arguments

input

R external pointer

nrow

number of rows

ncol

number of columns

Details

This function classifies the input object as GPU vector/matrix and assign its dimension The output of this function is a list consisting of the GPU pointer and its dimension

Value

a list consisting of

Note

output is a R external GPU pointer and can only be used in Rcublas functions

Author(s)

Yuan Li

See Also

gathergpu


yuanli22/RCUDA documentation built on May 4, 2019, 6:35 p.m.