-
Notifications
You must be signed in to change notification settings - Fork 60
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
Fix deallocate printer #1266
Fix deallocate printer #1266
Conversation
Codacy tests are failing |
@EmilyBourne is this |
@framdani i think in |
Huh, I thought I'd pulled the fix for that bug. It's not intended. There's a file where I accidentally save the line instead of the line index. I'll fix it once I find somewhere I can get my computer out |
Ah sorry, wrong PR. The fix is in #1279. You can either pull the changes from there or wait until that PR is merged and update |
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.
everything seems good to me now.
will merge in the correct order to fix the failing tests.
Please could you merge |
Fixes pyccel-cuda#8 ? |
Yes this PR fixes pyccel-cuda#8 |
Fixed here 2a03c9c |
Update the printer of deallocate to free the array object allocated by one of the cuda's memory allocation APIs. Fixes pyccel#8
Functions added:
cuda_free_host
: frees the memory returned by cudaMallocHost().cuda_free
: frees the array located on the device.cuda_free_pointer
: frees a pointer to a cuda array object.