geamgpu: geamgpu

Description Usage Arguments Value See Also

View source: R/Lapack.R

Description

This function computes the matrix-matrix addition/trasportation C = a op ( A ) + b op ( B ) by using CUDA cublas function cublasDgeam

Usage

1
geamgpu(transa = 1, transb = 1, alpha = 1, A, B, beta = 0, C)

Arguments

transa

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

transb

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

alpha

scale factor a of matrix A; default 1

A

input matrix; list of R external GPU pointer and dimension

B

input matrix; list of R external GPU pointer and dimension

beta

scale factor b of matrix B; default 0

C

output matrix; list of R external GPU pointer and dimension

Value

updated matrix C, a list consisting of

See Also

gemvgpu


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