Received from [email protected] on Mon, Mar 28, 2016 at 08:27:56PM EDT:
> Hi team,
> 
> Is it possible to perform a matrix vector multiply using the gpuarray.dot()
> method (or maybe a better one)?
> 
> I can individually multiply matrix rows by a vector
> 
>     gpuarray.dot(d_A[0, :], d_b)
> 
> but don't seem to be able to multiply a whole matrix by a vector?
> 
>     gpuarray.dot(d_A, d_b)
> 
> It returns a result, but it is just a bogus integer, not an array.
> 
> Thanks

scikit-cuda has a dot function that can multiple vectors/matrices:

http://scikit-cuda.readthedocs.org/en/latest/generated/skcuda.linalg.dot.html
-- 
Lev Givon
Bionet Group | Neurokernel Project
http://lebedov.github.io/
http://neurokernel.github.io/


_______________________________________________
PyCUDA mailing list
[email protected]
https://lists.tiker.net/listinfo/pycuda

Reply via email to