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

LONG_MAX fix #126

Merged
merged 1 commit into from
Oct 4, 2023
Merged

LONG_MAX fix #126

merged 1 commit into from
Oct 4, 2023

Conversation

EnaAlogo
Copy link
Contributor

@EnaAlogo EnaAlogo commented Oct 4, 2023

LONG_MAX is not unsigned 4294967295 , this has been giving me a narrowing conversion error when trying to use the cub block_reduce header.

The correct LONG_MAX is not UINT_MAX, it was most likely a typo , this has been giving me a narrowing conversion error when trying to use the cub block_reduce header.
@benbarsdell
Copy link
Member

Thanks! (I guess you're on Windows?)

If you want to you can open a PR with the same fix for jitify2: https://github.com/NVIDIA/jitify/blob/jitify2/jitify2.hpp#L3926

@benbarsdell benbarsdell merged commit 9c01f49 into NVIDIA:master Oct 4, 2023
@EnaAlogo
Copy link
Contributor Author

EnaAlogo commented Oct 4, 2023

Okay i will do that now , also yes i am on Windows.

@EnaAlogo EnaAlogo deleted the patch-1 branch October 5, 2023 15:50
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.

None yet

2 participants