Thanks,

That was exactly what I was looking for. Is scikit-cuda maintained as well as 
pycuda?

Christopher Watkins 
Applications Support Specialist
IM&T | Scientific Computing
CSIRO
E chris.watk...@csiro.au T +61 3 9545 2369
Private Bag 10, Clayton South, Vic, 3169
www.csiro.au
 
PLEASE NOTE
The information contained in this email may be confidential or privileged. Any 
unauthorised use or disclosure is prohibited. If you have received this email 
in error, please delete it immediately and notify the sender by return email. 
Thank you. To the extent permitted by law, CSIRO does not represent, warrant 
and/or guarantee that the integrity of this communication has been maintained 
or that the communication is free of errors, virus, interception or 
interference.

-----Original Message-----
From: Lev Givon [mailto:l...@columbia.edu] 
Sent: Tuesday, 29 March 2016 2:27 PM
To: Watkins, Chris (IM&T, Clayton) <chris.watk...@csiro.au>
Cc: pycuda@tiker.net
Subject: Re: [PyCUDA] gpuarray matrix vector multiply

Received from chris.watk...@csiro.au 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
PyCUDA@tiker.net
https://lists.tiker.net/listinfo/pycuda

Reply via email to