Skip to content
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

Stop shadowing free function #6076

Merged
merged 1 commit into from
Sep 23, 2024

Conversation

vyasr
Copy link
Contributor

@vyasr vyasr commented Sep 23, 2024

I think this is currently working because the function defined in fil.h is templated, whereas the base C free function is not, and so Cython is parsing this correctly. However, not all versions of Cython can parse this correctly, and cuml currently fails to build on the trunk of Cython repository as a result.

@vyasr vyasr added bug Something isn't working non-breaking Non-breaking change labels Sep 23, 2024
@vyasr vyasr self-assigned this Sep 23, 2024
@vyasr vyasr requested a review from a team as a code owner September 23, 2024 18:06
@github-actions github-actions bot added the Cython / Python Cython or Python issue label Sep 23, 2024
@dantegd
Copy link
Member

dantegd commented Sep 23, 2024

Good catch @vyasr, I think this might be the source of an error to free FIL object that happens when closing a script/notebook sometimes that I've seen in the past

@vyasr
Copy link
Contributor Author

vyasr commented Sep 23, 2024

/merge

@rapids-bot rapids-bot bot merged commit 0400d7a into rapidsai:branch-24.10 Sep 23, 2024
62 checks passed
@vyasr vyasr deleted the fix/free_shadowing branch September 23, 2024 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Cython / Python Cython or Python issue non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants