Hi Berat,

 > 1. Error message : The same as the one with the double precision
> arithmetic even if it was np.float32. Then I thought that perhaps there
> is no compatibility between ctype float and numpy float. I got a similar
> message with the np.int64 in the same routine as pyvienna did not accept
> either np.int64 or np.int32. I resorted to python and casted all my
> integer variables with int(). pyvienna accepted python int.

Hmm, I'm not sure what you are referring to. 'float' (32 bit) and 
'double' (64 bit) are standardized data types, so unlike 
compiler-specific lengths of 'long' and 'int', there should be no issues.


> 2. the print gave a "*None*" error message
>
> I just wanted to be sure that my devices are compatible with opencl and
> I downloaded pyOpenCL today. I run a simple test and pyOpenCL detected
> all of my devices.

Ok, this should be fine. If there's an issue with the OpenCL 
installation, one usually doesn't even get to this step.


> I just wonder if you could provide - for everybody - a simple python
> code that checks and verifies the installation. It may include the name
> of device(s), platform compatibility, etc. If this test succeeds, then
> the issue lies in pyvienna.

You could just try the steps from my blog post here:
https://www.karlrupp.net/2014/02/pyviennacl-gpu-accelerated-linear-algebra-for-python/

This is verified to work, so you should be able to reproduce.

>
> In order to install the pyOpenCL, I downloaded pyvienna at the moment.

Hm? What are you trying to achieve? You don't need PyViennaCL in order 
to use/install PyOpenCL...

Best regards,
Karli



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