Sparse matrix by dense matrix multiplication
Value
A dense cudatensor. The native backend keeps the result on CUDA;
compatibility backends retain their existing portable CPU result.
Examples
x <- cuda_sparse(diag(3), device = "cpu")
sparse_matmul_dense(x, matrix(1:6, 3, 2))
#> <cudatensor[3x2] device=cpu backend=base dtype=float64>
#> [,1] [,2]
#> [1,] 1 4
#> [2,] 2 5
#> [3,] 3 6