-
Notifications
You must be signed in to change notification settings - Fork 539
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
[HCC] Program crash with missing constructor #1314
Comments
Good catch! Going to check with CUDA (nvcc and clang) and with hip-clang (clang -x hip). Anyway, the issue is related to HCC compiler rather than HIP. |
This may be, but I never used hcc standalone, so I don't have an example for hcc only, so I thought it is better to open a bug report here. Do you want me to open an issue for HCC as well? |
hipcc goes through HCC compiler, clang -x hip goes through HIP compiler resided in clang.
I think maybe later. We need to compare between compilers. I've marked the bug as HCC here. |
I tried this with HIP_COMPILER=clang, and in that case it correctly identifies the missing symbol during compilation: 'lld: error: undefined hidden symbol: a::a()` |
Yes, the problem is only HCC specific. CUDA through nvcc and through clang reports the analogous linking error. Could you please file this issue in HCC? |
The program below crashes during hipLaunchKernelGGL instead of giving a failure at compile time, that the constructor for a is defined but not implemented:
Compiler simply via:
hipcc -o test test.hip.cpp
with ROCM 2.6 and a Radeon7 GPU.The text was updated successfully, but these errors were encountered: