Hi Andy,

> As I mentioned before, I'm using libviennacl-dev version 1.7.1 installed
> from the ubunto repo.
>
>
>
> When I run your attached code, I get do get an error:
>
>
> andrew@michael:~/Downloads$ g++ DenseVectorMmul.cpp
> -I/usr/include/viennacl/ -lOpenCL -o denseVec
>
> andrew@michael:~/Downloads$ ./denseVec
> terminate called after throwing an instance of 'viennacl::memory_exception'
>   what():  ViennaCL: Internal memory error: not initialised!
> Aborted (core dumped)
>
> andrew@michael:~/Downloads$ g++ --version
> g++ (Ubuntu 5.4.0-6ubuntu1~16.04.2) 5.4.0 20160609
> Copyright (C) 2015 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Now things get weird: I can't reproduce the problem with neiter the 
current developer tip, the 1.7.1 release, and 1.7.0, GCC 4.6 and GCC 
4.8. I'll replicate your environment (Ubuntu 16.04) and try it there.

Best regards,
Karli


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
ViennaCL-devel mailing list
ViennaCL-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viennacl-devel

Reply via email to