arrayfire / arrayfire-python

Python bindings for ArrayFire: A general purpose GPU library.

Home Page:https://arrayfire.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error

nigulasikaochuan opened this issue · comments

I am using arrayfire 3.6 on windows,the code is as below:
default
2
we can see the (-5)**2 is 24 which is obvious wrong.

@nigulasikaochuan You have to use ArrayFire 3.5.1 with latest release or master of arrayfire-python project. We haven't updated the wrapper to 3.6 yet. Can you try the code with 3.5.1 ArrayFire installation instead and let me know how that goes.

I try it in arrayfire 3.5,and the 5**2 still equals to 24, the coda is as below:
10 061242

@nigulasikaochuan I was able to reproduce it in current development branch as well. I have sent in a PR already arrayfire/arrayfire#2305

Ok,thanks for your effort,and i want to konw when the python wrapper will support arrayfire 3.6

@nigulasikaochuan I think it will take a while before anyone from our team gets to it as we are occupied with other tasks from the priority list.

I haven't worked on python wrapper that much but I will try to look into it. If it can be done with minimal changes, I will try to get it out in couple of weeks.

This has been fixed in upsteam arrayfire/arrayfire#2305 . @nigulasikaochuan You can get the fix by directly building from master branch or either wait for next fix release.