C***@csiro.au
2016-03-29 00:27:56 UTC
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
Christopher Watkins
Applications Support Specialist
IM&T | Scientific Computing
CSIRO
E ***@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.
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
Christopher Watkins
Applications Support Specialist
IM&T | Scientific Computing
CSIRO
E ***@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.