Skip to content

Cherry-pick fix for unreachable condition issue from upstream numba #886

Open
acosmicflamingo wants to merge 6 commits into
NVIDIA:mainfrom
acosmicflamingo:gh-897-fix
Open

Cherry-pick fix for unreachable condition issue from upstream numba #886
acosmicflamingo wants to merge 6 commits into
NVIDIA:mainfrom
acosmicflamingo:gh-897-fix

Conversation

@acosmicflamingo
Copy link
Copy Markdown

Addresses #879

A couple of months ago, this same issue appeared in upstream numba: numba/numba#10319. They fixed it in this PR, so all that's needed is to just cherry-pick their fixes. I verified that the reproducer @shwina created for us does work with these changes.

Only question I have is whether numba/tests/test_nested_calls.py has any place in numba-cuda. I deliberately didn't cherry-pick numba/numba@b6a2a10 because I figure this repository is meant for CUDA-specific functionality and it's upstream's responsibility for ensuring this kind of functionality is tested. If my assumption is correct, then this PR is ready to be merged.

If it is needed, I wonder where it should be placed because numba/tests directory doesn't exist. I'm 99% sure it's not needed but just want an opinion from someone with authority ;)

@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot Bot commented May 13, 2026

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants