-
Notifications
You must be signed in to change notification settings - Fork 796
[UR][HIP] Fix HIP adapter compilation on Windows #17702
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
Conversation
Converting ur_context_info_t (int32_t) to uint32_t was a narrowing conversion and it was making Visual Studio compiler error out during compilation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have a Windows machine with an AMD GPU either, but this looks reasonable, thanks for fixing it!
@intel/llvm-gatekeepers This is ready to merge It looks like the PVC machine is down again, so the E2E jobs on that failed. But this PR only touches the HIP adapter, and it's build fixes for Windows so it shouldn't affect the PVC tests. |
I'm happy to merge this, as you say it's unlikely this job will fail if the PVC runner was online |
* Fix links to configure.py and compile.py * Linking to the file in tree caused the link in the docs to just download the python script. It makes more sense to link to the github web UI for these as they should be used in a checkout anyway. * Remove CUDA requiring device selector * Since intel#6203 the device selector should handle this case well. * Update HIP backend limitations * HIP is no longer in beta * Windows isn't supported but intel#17702 made the build work with it so it might work for some users. * Global offset has been supported since intel#5855 * Add common limitations * Update HIP for Nvidia section * This might work but is not supported * Update HIP section * Recommended HIP version + testing platforms * HIP is no longer in beta * Add note on target aliases for CUDA and HIP
* Fix links to configure.py and compile.py * Linking to the file in tree caused the link in the docs to just download the python script. It makes more sense to link to the github web UI for these as they should be used in a checkout anyway. * Remove CUDA requiring device selector * Since #6203 the device selector should handle this case well. * Update HIP backend limitations * HIP is no longer in beta * Windows isn't supported but #17702 made the build work with it so it might work for some users. * Global offset has been supported since #5855 * Add common limitations * Update HIP for Nvidia section * This might work but is not supported * Update HIP section * Recommended HIP version + testing platforms * HIP is no longer in beta * Add note on target aliases for CUDA and HIP
I don't have access to a device to validate it's all perfect at runtime, but these fixes did let me build everything successfully, and the compiler was able to build Blender GPU kernels library on Windows, using HIP SDK 6.2.4 and VS2022 17.12.1.