Re: [ViennaCL-devel] Matrix * Vector CL_OUT_OF_RESOURCES error

2016-09-15 Thread Andrew Palumbo
Hi Karl, Attached and below is the the matrix and vector setup that I'm using from scala. I've also attached it as DenseVectorMmul.cpp. When i the snippet below, I get the following error: terminate called after throwing an instance of 'viennacl::memory_exception' what(): ViennaCL:

Re: [ViennaCL-devel] Fw: Matrix * Vector CL_OUT_OF_RESOURCES error

2016-09-15 Thread Karl Rupp
Hi, these are linker errors. Add -lOpenCL. If the OpenCL library is not available system-wide, also pass the the location with the -L flag. :-) Best regards, Karli On 09/16/2016 12:08 AM, Andrew Palumbo wrote: > > Apologies for accidentally not replying to the list last email > > > > >

Re: [ViennaCL-devel] Matrix * Vector CL_OUT_OF_RESOURCES error

2016-09-15 Thread Karl Rupp
Hi, > Attached and below is the the matrix and vector setup that I'm using > from scala. > > I've also attached it as DenseVectorMmul.cpp. > > > When i the snippet below, I get the following error: > > terminate called after throwing an instance of 'viennacl::memory_exception' > what():