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

shift count >= width of type warning in amd_device_functions.h #3663

Open
ET3D-ET3D opened this issue Nov 7, 2024 · 2 comments
Open

shift count >= width of type warning in amd_device_functions.h #3663

ET3D-ET3D opened this issue Nov 7, 2024 · 2 comments

Comments

@ET3D-ET3D
Copy link

I'm using HIP 6.1.2 in Windows, VS2019.

Investigating another issue, I tried to move the hip includes to another location, and when compiling them there I get some minor warnings/errors.

In amd_device_functions.h I get "shift count >= width of type" for functions __mul64hi and __umul64hi. These all refer to ">> 32" done on ulong variables.

@ppanchad-amd
Copy link

Hi @ET3D-ET3D. Internal ticket has been created to assist with your issue. Thanks!

@schung-amd
Copy link

schung-amd commented Nov 7, 2024

Hi @ET3D-ET3D, it looks like this has been fixed in ROCm 6.2.x: ROCm/clr@74cae70. I'm not sure when the next version of the HIP SDK or ROCm for WSL2 will be out to provide this fix.

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

No branches or pull requests

3 participants