syrkgpu: syrkgpu

Description Usage Arguments Value See Also

View source: R/L3blas.R

Description

This function performs the symmetric rank- k update C = a op ( A ) op ( A ) T + b C by using CUDA cublas function cublasDsyrk

Usage

1
syrkgpu(fillmode = 1, trans = 1, alpha = 1, A, beta = 0, C)

Arguments

fillmode

indicates if matrix A lower or upper part is stored, the other part is not referenced and is inferred from the stored elements. if fillmode == 1 then the triagular banded matrix A is stored column by column, with the main diagonal of the matrix stored in row 1, the first subdiagonal in row 2 (starting at first position), the second subdiagonal in row 3 (starting at first position), etc. if fillmode == 2 then the triangular banded matrix A is stored column by column, with the main diagonal of the matrix stored in row k+1, the first superdiagonal in row k (starting at second position), the second superdiagonal in row k-1 (starting at third position), etc.

trans

matrix A transpose operator, 1 (non-transpose), 2 (transpose), 3 (conjugate transpose); default at 1 (non-transpose)

alpha

scale factor a; default 1

A

input matrix; list of R external GPU pointer and dimension

beta

scale factor b; default 0

C

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

Value

updated matrix C, a list consisting of

See Also

gemmgpu


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