-
Notifications
You must be signed in to change notification settings - Fork 93
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
Compilation of GPU kernel code generates warnings #732
Comments
Which version of ROCm? Didn't see this with 5.2.3. I used
|
Its a very fundamental problem that was also discussed in the UCC developers meetings. I can't recall a ROCm version where I did not see this warning, but the most recent ones I have used it against include 5.4.3, 5.5.1, and 5.6.0 |
I see this with AMD ROCM 5.7.1 and ucc 1.2.0 with config
|
Is there any way to get around this? |
I am confused: you are talking about ROCm 5.7.1 but than you set --with-cuda=... (instead of --with-rocm=...) and -with-nccl ( insetead of --with-rccl=...). cuda/nccl are for NVidia GPUs, rocm/rccl are for AMD GPUs, you cannot interchange them. The output that you get is an actual error (not a warning) |
When compiling ucc with support for GPUs, two different compilers might be used: the compiler used for compiling the host code (e.g. gcc), and the compiler used for compiling kernel code (e.g. hipcc, nvcc). The two compilers do not necessarily have identical features sets. Configure at the moment only captures the capabilities and features of the host compiler. This can lead to some warning when compiling the GPU kernel code.
One example is shown below, where hipcc does not recognize the attribute "optimize" that is set in arch/cpu.h
The text was updated successfully, but these errors were encountered: