Hi,

 > Thank you very much again. I am sorry that I have created some problems
> just before the week-end. However, there is a bug - to my definition -
> in the system.
> Everything has started when I created - accidentally - a
> CompressedMatrix with double precision in a system that provides single
> precision, only. I did not receive any error message when I created the
> matrix, though. The following is from the early morning test today:
>
>>>> import  pyviennacl as p
>
>>>> A =  p.CompressedMatrix(5, 5)

At this point no kernel is launched, so the backend does not check for 
double precision capabilities. Maybe it should...


>>>> b =  p.Vector(5, 3.142)
>
> Traceback (most recent call last):
>
> .
>
> .
>
> RuntimeError: ViennaCL: FATAL ERROR:

Yes, the error shows up here because the vector is populated with data 
using a kernel launch -> check for double precision -> error.


> The error is detected when a vector is created, not when a
> CompressedMatrix is created in the first line. After the first line, the
> system is silently becoming unstable - (I think!). That was the origin
> of the problems that I reported before the weekend. However, it took
> sometime to sort it out.
>
>
> I read in your websites that you also support for Open MP for C++
> version. Is it also valid for python version?

Not with the current 1.0.3 release. Some more functionality is available 
in the developer repository [1], which should "soon" make it into a 
1.1.0 release. Feel free to try it out, but be warned that installation 
is not super-easy as you have to compile things yourself.


> Would it be possible for you to give me a link of the documentation that
> you are quoting from above? The only source of documentation that I know
> of is this :
> http://viennacl.sourceforge.net/pyviennacl/doc/examples/sparse-matrices.html
> and the information there is quite limited.

This is directly from the sources:

https://github.com/viennacl/pyviennacl-dev/blob/master/pyviennacl/pycore.py#L1492

(I may not have made it to the sphinx-generated HTML documentation yet)

Best regards,
Karli

[1] https://github.com/viennacl/pyviennacl-dev/


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
ViennaCL-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/viennacl-support

Reply via email to