-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with indexing of a 4d ndarray #1947
Comments
After some additional testing, it seems this is related to int types under Windows, which the doc warns about in the limitations (see #1916). Apparently, I can get a different version of this kernel to work if I use different types of integer:
Very confusing :( It could be worthwhile to add some error messages about integers on windows since this seems to be kind of a known issue? |
Thanks for reducing the issue. This is indeed confusing, I'll propose a patch. If you spot any performance issue during your benchmarks, please open issues as well ;-) |
Can you confirm that if you change
into
this fixes the issue? |
Hi Serge, |
@flothesof I believe your issue is now fixed on |
Hi @serge-sans-paille |
Hi @serge-sans-paille ,
I then get output like the following:
I’m not sure if this is a problem or not.
Not sure what the problem is, but the point is that I don’t get my compiled binary file so I can’t confirm... Cheers |
can you try |
I tried another way to do it.
Still an error:
|
After some more tests, it turns out my installation of pythran was not working.
However, the fix seems not to be working:
|
from the install step you describe above, you installed pythran version from conda, not the patched version? |
Actually, I first installed from conda-forge to get the difficult to
install dependencies.
Then, I installed from source, which overwrote the conda-forge version and
used that to test your patch.
Le mar. 11 janv. 2022 à 18:19, serge-sans-paille ***@***.***>
a écrit :
… from the install step you describe above, you installed pythran version
from conda, not the patched version?
—
Reply to this email directly, view it on GitHub
<#1947 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AASAKXKIPIYZT7DL2K6HSTLUVRRBZANCNFSM5J6AQIWA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi there,
I’m trying to benchmark pythran for my use case but can’t get it to compile my function below.
After doing some tests, it appears that the failing line is
What the line is doing is that it’s trying to access some items of a constant 4d array and compute something with it.
I’ve tried to compile the function with pythran -v but am unable to understand what trips up the compilation.
The log looks like this
Any pointers as to what I could try to get this going?
Thank you!
Florian
The text was updated successfully, but these errors were encountered: