-
Notifications
You must be signed in to change notification settings - Fork 521
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
HIP Compilation error on Nvidia hardware #2163
Comments
Looking at
Verbose compilation with hipcc shows that
|
Manually setting
resolves the compilation issue. Additionally, I found the following modification to hipcc also results in successful compilation (with HIP_COMPILER unset in my environment )
|
* For nvcc platforms, the HIP_COMPILER must be set to ${CUDA_PATH}/bin/nvcc so that CUDA intrinsics can be resolved in the nvcc_detail/hip_runtime.h header file.
HIP support for nvcc has been refactored already in the internal dev branch and this issue is addressed as part of it. This change should propagate to the development branch soon. Thanks. |
@satyanveshd thanks for the update! Is there any CI testing that is done on Nvidia platforms to ensure that major releases are not broken ? If not, I'd be interested in joining a maintainers group to lend some help here |
@satyanveshd I noticed that with v3.9 of ROCm, this issue still persists with hipcc. Do you have an ETA on when this will be resolved ? Are there any plans to prevent this type of bug from being pushed into future releases ? |
The fix didn't make it to 3.9. I believe this should be part of rel 3.10. |
@fluidnumerics-joe, Sorry for the lack of response. Please try latest ROCm 6.0.2 (HIP 6.0.32831) to see if your issue still exists? If resolved, please close the ticket. Thanks. |
This issue was first reported in the hipfort repository : ROCm/hipfort#36 , but seems to be coming from an issue related to HIP.
System Info
Operating System : Ubuntu 20.04
GPU : Nvidia GTX 1070
CUDA Toolkit 11.0 installed
HIP Installed from ROCm 3.7.0
Source Code
https://github.com/ROCmSoftwarePlatform/hipfort/blob/master/test/vecadd/hip_implementation.cpp
Error message
To recreate the error, Compile the above listed
hip_implementation.cpp
with hipcc on NVCC platform.I have found the error only occurs on Nvidia hardware. I've compiled using the command
The following output ensues :
Outside of the undefined grid/thread/block errors, hipcc seems to now have compilation issues
This was not an issue with ROCm 3.3.0 installation of HIP.
The text was updated successfully, but these errors were encountered: