mvGPU: mvgpu

Description Usage Arguments Value See Also Examples

Description

This function computes the matrix-vector multiplication (X * y) by using CUDA cublas function cublasDgemv

Usage

1
mvgpu(X, y)

Arguments

X

input matrix; list of R external GPU pointer and dimension

y

input vector; list of R external GPU pointer and dimension

Value

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

See Also

mmgpu

Examples

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

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