amingpu: amingpu

Description Usage Arguments Value See Also Examples

View source: R/L1blas.R

Description

This function finds the (smallest) index of the element with the minimum magnitude of given vector by using CUDA cublas function cublasIdamin

Usage

1
amingpu(input)

Arguments

input

list consisting of R external GPU pointer and dimension

Value

the resulting index

See Also

amaxgpu

Examples

1
2
3
a <- 1:4
a_gpu <- creategpu(a)
amingpu(a_gpu) 

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