sumGPU: sumgpu

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Compute the summation of given vector/matrix

Usage

1
sumgpu(x)

Arguments

x

list consisting of R external GPU pointer and dimension

Details

This function computes the summation of given vector/matrix by using self-defined CUDA function

Value

vector/matrix summation

Author(s)

Yuan Li

See Also

meangpu

Examples

1
2
a <- creategpu(1:4)
sumgpu(a)

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