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

2016-09-15 Thread Andrew Palumbo
Thank you I apologize for the sloppiness. with the correct compile line, I get: $ g++ DenseVectorMmul.cpp -I/usr/include/viennacl/ -lOpenCL -o denseVecs $ ./denseVecs terminate called after throwing an instance of 'viennacl::memory_exception' what(): ViennaCL: Internal memory error: not in

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 > > > > > Th

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

2016-09-15 Thread Andrew Palumbo
Apologies for accidentally not replying to the list last email Thank you, Karl, I'd forgotten that because we have that Definition as part of the java cpp setup. With #define VIENNACL_WITH_OPENCL, though now I'm getting compile errors. Are there possibly missing includes? I've checked

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(): ViennaC

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: Internal