tGPU: tgpu

Description Usage Arguments Value See Also Examples

Description

This function transposes the given matrix by using CUDA cublas cublasDgeam

Usage

1
tgpu(X)

Arguments

X

input matrix; list of R external GPU pointer and dimension

Value

matrix transpose, a list consisting of

See Also

creategpu

Examples

1
2
3
4
a <- 1:12
a_gpu <- creategpu(a, 3, 4)
tgpu(a_gpu) -> c_gpu
gathergpu(c_gpu)

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