Hello again,

I am very sorry that I keep you busy with this issue.

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.

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.

I have AMD's latest OpenCL SDK. I installed it about a month ago.

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.

In order to install the pyOpenCL, I downloaded pyvienna at the moment. Now,
I am sure that I have a compatible system.

I thank you very much for your efforts again.

Have a nice weekend.

Kind regards,
Berat

2015-05-23 16:33 GMT+02:00 Karl Rupp <[email protected]>:

> Hi Berat,
>
> > I thank you very much for your reply and your suggestion. Unfortunately,
>
>> the problem that I encounter is bigger than what it appears.
>> Initially, the vector was np.float64. Pyvienna did not accept it. The
>> error message was: "You are using double precision number but your
>> system does not support it!"
>>
>
> Ok, so your OpenCL hardware is not capable of double precision arithmetic.
>
>  I then used np.float32, but it did not accept this version, either.
>>
>
> What was the error message?
>
>  I made another test after I sent you my second mail. It was a simple one :
>> a = np.ones(10)
>> b = p.Vector(a)
>> c = b.value
>> print(c) = None
>>
>
> What was the error message?
>
>
>  I uninstalled pyvienna and downloaded another version from your website
>> with ms-installer. The result did not change.
>>
>
> Have you tried to use the release version from
> https://pypi.python.org/pypi/pyviennacl via pip? This is usually the most
> reliable way of installing it.
>
>
>  Either, there is a bug in the windows version or the installation does
>> not seem to be correct in two different installation packages. (or my
>> system sucks!)
>>
>
> Please provide the error messages for the cases above. Otherwise we have a
> hard time providing any reasonable suggestions. ;-)
>
> Best regards,
> Karli
>
> PS: Please keep viennacl-support in CC so that others (especially Toby,
> the main PyViennaCL developer) can also help.
>
>
------------------------------------------------------------------------------
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