Description Usage Arguments Details Value Note Author(s) See Also
View source: R/gpu_object_class.R
classify the input as GPU vector/matrix and assign its dimension
1 |
input |
R external pointer |
nrow |
number of rows |
ncol |
number of columns |
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
a list consisting of
ptr: GPU pointer
m: number of rows
n: number of columns
output is a R external GPU pointer and can only be used in Rcublas functions
Yuan Li
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.