Also ... a little more information, this happens with relatively small matrix/ 
vector pairs...

300 x 100 matrix and 100 element vec.

I'm running with a consumer grade GPU, but it has dealt with matrices much 
larger than that.

Thanks



Sent from my Verizon Wireless 4G LTE smartphone


-------- Original message --------
From: Andrew Palumbo <ap....@outlook.com>
Date: 09/14/2016 16:30 (GMT-05:00)
To: "ViennaCL-devel@lists.sourceforge.net" 
<viennacl-devel@lists.sourceforge.net>
Subject: [ViennaCL-devel] Matrix * Vector CL_OUT_OF_RESOURCES error


Hello,

I've been getting a CL_OUT_OF_RESOURCES error when I try to do (somthing like) 
the following with A OpenCL Contex in a unit testt:


viennacl::matrix<double,viennacl::row_major> mxA

viennacl::vector<double> vecB


// add some data to both mxA and vecB


viennacl::vector<double> vecB = viennacl::linalg::prod(mxA, vecB)


This seems right and everything works when using an OpenMP Context, but when I 
try to read the data off of the GPU in (with in an openCL Context)  using 
backend::memory_read, I get the CL_OUT_OF_RESOURCES error.


If I dont make the backend::memory_read call, that test will pass,  but my next 
 unit test; A Matrix * Matrix test will fail.


Does the Vector product or memory_read seem wrong to you?


Thanks,


Andy



------------------------------------------------------------------------------
_______________________________________________
ViennaCL-devel mailing list
ViennaCL-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viennacl-devel

Reply via email to