Description Usage Arguments Value Examples
Performs matrix multiplication using a GPU. This function is merely a wrapper for the CUBLAS cublasDgemm function.
1 | gpuMatMult(a, b)
|
a |
a numeric matrix. |
b |
a numeric matrix. |
A numeric matrix. The matrix is just the product of arguments 'a' and 'b'.
1 2 3 | matA <- matrix(runif(2*3), 2, 3)
matB <- matrix(runif(3*4), 3, 4)
gpuMatMult(matA, matB)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.