dgmmgpu: dgmmgpu

Description Usage Arguments Value See Also

View source: R/Lapack.R

Description

This function performs the matrix-matrix multiplication C = A diag(x) or C = diag(x) A by using CUDA cublas function cublasDdgmm

Usage

1
dgmmgpu(sidemode = 1, A, x, C)

Arguments

sidemode

indicates whether the given matrix is on the left or right side in the matrix equation solved by a particular function. If sidemode == 1, the matrix is on the left side in the equation If sidemode == 2, the matrix is on the right side in the equation.

A

input matrix; list of R external GPU pointer and dimension

x

input vector; list of R external GPU pointer and dimension

C

input/output matrix; list of R external GPU pointer and dimension

Value

updated matrix C, a list consisting of

See Also

symmgpu


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