mmGPU: mmgpu

Description Usage Arguments Value See Also Examples

Description

This function computes the matrix-matrix multiplication (X * Y) by using CUDA cublas function cublasDgemm

Usage

1
mmgpu(X, Y)

Arguments

X

input matrix; list of R external GPU pointer and dimension

Y

input matrix; list of R external GPU pointer and dimension

Value

matrix-matrix multiplication (X * Y), a list consisting of

See Also

mmgpu

Examples

1
2
3
4
5
6
a <- 1:6
b <- 2:7
a_gpu <- creategpu(a, 2, 3)
b_gpu <- creategpu(b, 3, 2)
mmgpu(a_gpu, b_gpu) -> c_gpu
gathergpu(c_gpu)

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