-
Notifications
You must be signed in to change notification settings - Fork 133
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
Add dtype for numpy.uintp which is compatible with C uintptr_t #1544
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a small test to show example usage and ensure that proper code is generated?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good now. Thanks!
@tbennun is it ok to merge? |
No. The test is not portable (assumes g++ exists, assumes /tmp exists, assumes Linux) and too elaborate for what it should test. It also leaks 4 bytes. I’ll make a simple test myself and edit your branch if you don’t mind |
more than welcome to suggest another test. |
@kotsaloscv see new test |
Need this to pass C pointers to DaCe sdfg and reinterpret cast them inside a tasklet