Skip to content

Conversation

@isVoid
Copy link
Contributor

@isVoid isVoid commented Apr 22, 2025

Per nvvm documentation, shuffle APIs takes a IR constant for the mode parameter. In current Numba implementation, it is a variable. This could crash the NVVM lowering when the ConstantFolds are not applied to IR (-opt=3 e.g.). This PR fixes #228

@isVoid
Copy link
Contributor Author

isVoid commented Apr 22, 2025

Superceded by #231

@isVoid isVoid closed this Apr 22, 2025
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.

[BUG] Warp operations (shfl_sync, etc.) must use a constant int for the mode

2 participants