Description Usage Arguments Value See Also Examples
This function computes the element-wise multiplication of two given vectors/matricesby using CUDA cublas function cublasDdgmm
1 | multiplygpu(x, y)
|
x |
list consisting of R external GPU pointer and dimension |
y |
list consisting of R external GPU pointer and dimension |
element-wise multiplication of vectors/matrices (x * y), a list consisting of
ptr: GPU pointer
m: number of rows
n: number of columns
1 2 3 4 5 6 | a <- 1:4
b <- 2:5
a_gpu <- creategpu(a)
b_gpu <- creategpu(b)
multiplygpu(a_gpu, b_gpu) -> c_gpu
gathergpu(c_gpu)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.